#9C1F52#9C1F52
#9C1F52 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.164 H 1.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F52 |
|---|---|
| RGB | rgb(156, 31, 82) |
| HSL | hsl(336, 67%, 37%) |
| HSV | hsv(336, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 47.4%, 38.8%) |
| CIE-LAB | lab(35.32, 53.28, 1.93) |
| CIE-LCH | lch(35.32, 53.31, 2.08°) |
| OKLab | oklab(46.38% 0.1635 0.0055) |
| OKLCH | oklch(46.38% 0.164 1.9) |
| XYZ | xyz(15.7246, 8.6592, 8.8244) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.98
Violet Red
#A50055
ΔE00 2.42
Purple Red
#990147
ΔE00 2.97
Mulberry
#920A4E
ΔE00 3.45
Dark Fuchsia
#9D0759
ΔE00 3.51
Deep Magenta
#A0025C
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F52 #1F9C69
analogous
#9C1F91 #9C1F52 #9C2B1F
triadic
#9C1F52 #529C1F #1F529C
tetradic
#9C1F52 #919C1F #1F9C69 #2B1F9C
square
#9C1F52 #919C1F #1F9C69 #2B1F9C
split-complementary
#9C1F52 #1F9C2B #1F919C
monochromatic
#360B1C #691537 #9C1F52 #CF296D #DE588E
Accessibility & contrast
On white
7.69
#9C1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9C1F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F52
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F52 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#AA0036
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9c1f52; /* rgb */ color: rgb(156, 31, 82); /* oklch */ color: oklch(46.4% 0.164 1.9);
Tailwind
colors: {
custom: {
50: '#bf6982',
500: '#9c1f52',
950: '#000000',
},
}SCSS
$custom: #9c1f52; $custom-light: #bf6982; $custom-dark: #000000;
JSON
{
"hex": "#9c1f52",
"rgb": {
"r": 156,
"g": 31,
"b": 82
},
"hsl": {
"h": 335.52,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.46382,
"c": 0.16363,
"h": 1.9
},
"luminance": 0.08657
}Semantic roles & 50–950 ramp
primary
#9C1F52
secondary
#55C195
accent
#EAA43E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C