#9D174D

Brown

#9D174DBrown

Luminance

0.083

Category

Pink

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#9D174D
No #
9D174D

RGB

RGB
rgb(157, 23, 77)
Values
R:157 G:23 B:77

HSL

HSL
hsl(336, 74%, 35%)
Values
H:336° S:74% L:35%

HSV / HSB

HSV
hsv(336, 85%, 62%)
Values
H:336° S:85% V:62%

CMYK

CMYK
cmyk(0%, 85%, 51%, 38%)
Values
C:0 M:85 Y:51 K:38

LAB

LAB
lab(35, 55, 4)
Values
L:35 a:55 b:4

OKLCH

OKLCH
oklch(45.9% 0.170 3.8)
Values
L:45.9% C:0.170 H:3.8°

Code Formats

CSS
color: #9D174D;
Swift
UIColor(red: 0.616, green: 0.090, blue: 0.302, alpha: 1.0)
Kotlin
Color(0xFF9D174D)
Flutter
Color(0xFF9D174D)
Android
#FF9D174D

Contrast Analysis

WCAG compliance with grayscale colors

On White

7.88:1

AAA

On Black

2.66:1

Fail

Grayscale Contrast

Aa

0%

2.7

Fail
Aa

10%

2.2

Fail
Aa

20%

1.6

Fail
Aa

30%

1.1

Fail
Aa

40%

1.4

Fail
Aa

50%

2.0

Fail
Aa

60%

2.8

Fail
Aa

70%

3.8

AA-large
Aa

80%

4.9

AA
Aa

90%

6.3

AA
Aa

100%

7.9

AAA

Best Grayscale Contrast

#FFFFFF with ratio 7.88:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #E1377B 0%, #6F1136 100%)
OKLCH
linear-gradient(90deg, oklch(61.4% 0.210 1.8) 0%, oklch(36.0% 0.129 3.4) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #D90D5E 0%, #CB0152 100%)
OKLCH
linear-gradient(135deg, oklch(57.0% 0.224 8.0) 0%, oklch(53.9% 0.215 9.6) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #9D174D 0%, #179B66 100%)
OKLCH
linear-gradient(90deg, oklch(45.9% 0.170 3.8) 0%, oklch(61.1% 0.134 159.5) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #9B178E 0%, #9D174D 50%, #9B2417 100%)
OKLCH
linear-gradient(90deg, oklch(48.4% 0.202 333.0) 0%, oklch(45.9% 0.170 3.8) 50%, oklch(45.5% 0.157 30.3) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #9B174C 0%, #2C111C 100%)
OKLCH
linear-gradient(180deg, oklch(45.5% 0.168 3.8) 0%, oklch(22.3% 0.047 355.9) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #DE216D 0%, #851441 100%)
OKLCH
radial-gradient(circle, oklch(59.1% 0.222 4.5) 0%, oklch(40.8% 0.149 3.7) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette