#8F1238#8F1238
#8F1238 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.157 H 11.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1238 |
|---|---|
| RGB | rgb(143, 18, 56) |
| HSL | hsl(342, 78%, 32%) |
| HSV | hsv(342, 87%, 56%) |
| CMYK | cmyk(0%, 87.4%, 60.8%, 43.9%) |
| CIE-LAB | lab(30.78, 50.98, 12.23) |
| CIE-LCH | lch(30.78, 52.42, 13.49°) |
| OKLab | oklab(42.35% 0.1543 0.0303) |
| OKLCH | oklch(42.35% 0.157 11.1) |
| XYZ | xyz(12.2591, 6.5597, 4.3613) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.53
Cranberry
#9E003A
ΔE00 2.76
Bordeaux
#7B002C
ΔE00 4.49
Purple Red
#990147
ΔE00 4.68
Berry
#990F4B
ΔE00 5.31
Wine Red
#7B0323
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1238 #128F69
analogous
#8F1277 #8F1238 #8F2B12
triadic
#8F1238 #388F12 #12388F
tetradic
#8F1238 #778F12 #128F69 #2B128F
square
#8F1238 #778F12 #128F69 #2B128F
split-complementary
#8F1238 #128F2B #12778F
monochromatic
#22040D #590B23 #8F1238 #C5194D #E6366B
Accessibility & contrast
On white
9.08
#8F1238 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8F1238 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1238
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1238 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383839
Deuteranopia (green-blind)
#585135
Tritanopia (blue-blind)
#9D0024
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8f1238; /* rgb */ color: rgb(143, 18, 56); /* oklch */ color: oklch(42.4% 0.157 11.1);
Tailwind
colors: {
custom: {
50: '#b7616e',
500: '#8f1238',
950: '#000000',
},
}SCSS
$custom: #8f1238; $custom-light: #b7616e; $custom-dark: #000000;
JSON
{
"hex": "#8f1238",
"rgb": {
"r": 143,
"g": 18,
"b": 56
},
"hsl": {
"h": 341.76,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.4235,
"c": 0.15721,
"h": 11.1
},
"luminance": 0.06558
}Semantic roles & 50–950 ramp
primary
#8F1238
secondary
#3AC399
accent
#F4BA34
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130607
muted
#827A7A