#9C1F40#9C1F40
#9C1F40 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 11.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F40 |
|---|---|
| RGB | rgb(156, 31, 64) |
| HSL | hsl(344, 67%, 37%) |
| HSV | hsv(344, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 59%, 38.8%) |
| CIE-LAB | lab(34.84, 51.81, 12.94) |
| CIE-LCH | lch(34.84, 53.40, 14.02°) |
| OKLab | oklab(45.88% 0.1567 0.0322) |
| OKLCH | oklch(45.88% 0.16 11.6) |
| XYZ | xyz(15.1272, 8.4203, 5.6782) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.26
Rouge
#AB1239
ΔE00 4.02
Raspberry (survey)
#B00149
ΔE00 4.11
Purplish Red
#B0054B
ΔE00 4.34
Red Wine
#8C0034
ΔE00 4.68
Purple Red
#990147
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F40 #1F9C7B
analogous
#9C1F7F #9C1F40 #9C3D1F
triadic
#9C1F40 #409C1F #1F409C
tetradic
#9C1F40 #7F9C1F #1F9C7B #3D1F9C
square
#9C1F40 #7F9C1F #1F9C7B #3D1F9C
split-complementary
#9C1F40 #1F9C3D #1F7F9C
monochromatic
#360B16 #69152B #9C1F40 #CF2955 #DE587B
Accessibility & contrast
On white
7.83
#9C1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9C1F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F40
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F40 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424240
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#AB002D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9c1f40; /* rgb */ color: rgb(156, 31, 64); /* oklch */ color: oklch(45.9% 0.160 11.6);
Tailwind
colors: {
custom: {
50: '#c06874',
500: '#9c1f40',
950: '#000000',
},
}SCSS
$custom: #9c1f40; $custom-light: #c06874; $custom-dark: #000000;
JSON
{
"hex": "#9c1f40",
"rgb": {
"r": 156,
"g": 31,
"b": 64
},
"hsl": {
"h": 344.16,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.45876,
"c": 0.15993,
"h": 11.6
},
"luminance": 0.08418
}Semantic roles & 50–950 ramp
primary
#9C1F40
secondary
#55C1A5
accent
#EABC3E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B