#9C1F48#9C1F48
#9C1F48 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.161 H 7.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F48 |
|---|---|
| RGB | rgb(156, 31, 72) |
| HSL | hsl(340, 67%, 37%) |
| HSV | hsv(340, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 53.8%, 38.8%) |
| CIE-LAB | lab(35.04, 52.42, 8.01) |
| CIE-LCH | lch(35.04, 53.03, 8.69°) |
| OKLab | oklab(46.08% 0.1598 0.0206) |
| OKLCH | oklch(46.08% 0.161 7.4) |
| XYZ | xyz(15.3714, 8.5180, 6.9644) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.03
Purple Red
#990147
ΔE00 3.14
Purplish Red
#B0054B
ΔE00 3.59
Raspberry (survey)
#B00149
ΔE00 3.65
Cranberry
#9E003A
ΔE00 3.68
Violet Red
#A50055
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F48 #1F9C73
analogous
#9C1F87 #9C1F48 #9C351F
triadic
#9C1F48 #489C1F #1F489C
tetradic
#9C1F48 #879C1F #1F9C73 #351F9C
square
#9C1F48 #879C1F #1F9C73 #351F9C
split-complementary
#9C1F48 #1F9C35 #1F879C
monochromatic
#360B19 #691530 #9C1F48 #CF2960 #DE5884
Accessibility & contrast
On white
7.77
#9C1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9C1F48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F48
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F48 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404249
Deuteranopia (green-blind)
#615B45
Tritanopia (blue-blind)
#AB0031
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9c1f48; /* rgb */ color: rgb(156, 31, 72); /* oklch */ color: oklch(46.1% 0.161 7.4);
Tailwind
colors: {
custom: {
50: '#bf687a',
500: '#9c1f48',
950: '#000000',
},
}SCSS
$custom: #9c1f48; $custom-light: #bf687a; $custom-dark: #000000;
JSON
{
"hex": "#9c1f48",
"rgb": {
"r": 156,
"g": 31,
"b": 72
},
"hsl": {
"h": 340.32,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.46084,
"c": 0.16114,
"h": 7.4
},
"luminance": 0.08516
}Semantic roles & 50–950 ramp
primary
#9C1F48
secondary
#55C19E
accent
#EAB13E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B