#9F1940#9F1940
#9F1940 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.167 H 11.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1940 |
|---|---|
| RGB | rgb(159, 25, 64) |
| HSL | hsl(343, 73%, 36%) |
| HSV | hsv(343, 84%, 62%) |
| CMYK | cmyk(0%, 84.3%, 59.7%, 37.6%) |
| CIE-LAB | lab(34.88, 54.29, 13.09) |
| CIE-LCH | lch(34.88, 55.84, 13.56°) |
| OKLab | oklab(46.01% 0.1643 0.0325) |
| OKLCH | oklch(46.01% 0.167 11.2) |
| XYZ | xyz(15.5727, 8.4387, 5.6583) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.82
Raspberry (survey)
#B00149
ΔE00 3.51
Purplish Red
#B0054B
ΔE00 3.78
Rouge
#AB1239
ΔE00 3.85
Red Wine
#8C0034
ΔE00 4.70
Purple Red
#990147
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1940 #199F78
analogous
#9F1983 #9F1940 #9F3519
triadic
#9F1940 #409F19 #19409F
tetradic
#9F1940 #839F19 #199F78 #35199F
square
#9F1940 #839F19 #199F78 #35199F
split-complementary
#9F1940 #199F35 #19839F
monochromatic
#350815 #6A112B #9F1940 #D42155 #E34F7A
Accessibility & contrast
On white
7.81
#9F1940 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F1940 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1940
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1940 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414141
Deuteranopia (green-blind)
#635C3D
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1940; /* rgb */ color: rgb(159, 25, 64); /* oklch */ color: oklch(46.0% 0.167 11.2);
Tailwind
colors: {
custom: {
50: '#c26674',
500: '#9f1940',
950: '#000000',
},
}SCSS
$custom: #9f1940; $custom-light: #c26674; $custom-dark: #000000;
JSON
{
"hex": "#9f1940",
"rgb": {
"r": 159,
"g": 25,
"b": 64
},
"hsl": {
"h": 342.537,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.46012,
"c": 0.16745,
"h": 11.2
},
"luminance": 0.08436
}Semantic roles & 50–950 ramp
primary
#9F1940
secondary
#4EC6A3
accent
#F0BA38
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B