#9F1438#9F1438
#9F1438 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.170 H 14.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1438 |
|---|---|
| RGB | rgb(159, 20, 56) |
| HSL | hsl(344, 78%, 35%) |
| HSV | hsv(344, 87%, 62%) |
| CMYK | cmyk(0%, 87.4%, 64.8%, 37.6%) |
| CIE-LAB | lab(34.31, 54.91, 17.54) |
| CIE-LCH | lch(34.31, 57.64, 17.71°) |
| OKLab | oklab(45.54% 0.1647 0.0423) |
| OKLCH | oklch(45.54% 0.17 14.4) |
| XYZ | xyz(15.2637, 8.1592, 4.5118) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.23
Rouge
#AB1239
ΔE00 2.49
Red Wine
#8C0034
ΔE00 4.94
Raspberry (survey)
#B00149
ΔE00 5.09
Purplish Red
#B0054B
ΔE00 5.49
Rose Red
#BE013C
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1438 #149F7B
analogous
#9F147E #9F1438 #9F3514
triadic
#9F1438 #389F14 #14389F
tetradic
#9F1438 #7E9F14 #149F7B #35149F
square
#9F1438 #7E9F14 #149F7B #35149F
split-complementary
#9F1438 #149F35 #147E9F
monochromatic
#320612 #690D25 #9F1438 #D51B4B #E84670
Accessibility & contrast
On white
7.98
#9F1438 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#9F1438 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1438
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1438 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1438 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403F38
Deuteranopia (green-blind)
#635B34
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f1438; /* rgb */ color: rgb(159, 20, 56); /* oklch */ color: oklch(45.5% 0.170 14.4);
Tailwind
colors: {
custom: {
50: '#c3656e',
500: '#9f1438',
950: '#000000',
},
}SCSS
$custom: #9f1438; $custom-light: #c3656e; $custom-dark: #000000;
JSON
{
"hex": "#9f1438",
"rgb": {
"r": 159,
"g": 20,
"b": 56
},
"hsl": {
"h": 344.46,
"s": 77.654,
"l": 35.098
},
"oklch": {
"l": 0.45538,
"c": 0.17006,
"h": 14.4
},
"luminance": 0.08157
}Semantic roles & 50–950 ramp
primary
#9F1438
secondary
#46C8A7
accent
#F4C234
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140607
muted
#837A7A