#9D1C52#9D1C52
#9D1C52 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.167 H 1.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1C52 |
|---|---|
| RGB | rgb(157, 28, 82) |
| HSL | hsl(335, 70%, 36%) |
| HSV | hsv(335, 82%, 62%) |
| CMYK | cmyk(0%, 82.2%, 47.8%, 38.4%) |
| CIE-LAB | lab(35.22, 54.39, 1.82) |
| CIE-LCH | lch(35.22, 54.42, 1.91°) |
| OKLab | oklab(46.35% 0.1671 0.0052) |
| OKLCH | oklch(46.35% 0.167 1.8) |
| XYZ | xyz(15.8442, 8.6100, 8.8086) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.84
Violet Red
#A50055
ΔE00 2.10
Purple Red
#990147
ΔE00 2.83
Dark Fuchsia
#9D0759
ΔE00 3.29
Mulberry
#920A4E
ΔE00 3.32
Deep Magenta
#A0025C
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1C52 #1C9D67
analogous
#9D1C93 #9D1C52 #9D271C
triadic
#9D1C52 #529D1C #1C529D
tetradic
#9D1C52 #939D1C #1C9D67 #271C9D
square
#9D1C52 #939D1C #1C9D67 #271C9D
split-complementary
#9D1C52 #1C9D27 #1C939D
monochromatic
#35091C #691337 #9D1C52 #D1256D #E0538E
Accessibility & contrast
On white
7.72
#9D1C52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9D1C52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1C52
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1C52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1C52 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#AB0035
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d1c52; /* rgb */ color: rgb(157, 28, 82); /* oklch */ color: oklch(46.3% 0.167 1.8);
Tailwind
colors: {
custom: {
50: '#c06882',
500: '#9d1c52',
950: '#000000',
},
}SCSS
$custom: #9d1c52; $custom-light: #c06882; $custom-dark: #000000;
JSON
{
"hex": "#9d1c52",
"rgb": {
"r": 157,
"g": 28,
"b": 82
},
"hsl": {
"h": 334.884,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.46346,
"c": 0.16714,
"h": 1.8
},
"luminance": 0.08608
}Semantic roles & 50–950 ramp
primary
#9D1C52
secondary
#51C394
accent
#EDA23B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C