#8F2142#8F2142
#8F2142 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.146 H 8.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2142 |
|---|---|
| RGB | rgb(143, 33, 66) |
| HSL | hsl(342, 63%, 35%) |
| HSV | hsv(342, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 53.8%, 43.9%) |
| CIE-LAB | lab(32.53, 47.48, 8.03) |
| CIE-LCH | lch(32.53, 48.15, 9.60°) |
| OKLab | oklab(43.72% 0.1445 0.0206) |
| OKLCH | oklch(43.72% 0.146 8.1) |
| XYZ | xyz(12.8561, 7.3225, 5.8896) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.59
Berry
#990F4B
ΔE00 3.70
Red Wine
#8C0034
ΔE00 3.76
Cranberry
#9E003A
ΔE00 4.05
Mulberry
#920A4E
ΔE00 5.42
Wine (survey)
#80013F
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2142 #218F6E
analogous
#8F2179 #8F2142 #8F3721
triadic
#8F2142 #428F21 #21428F
tetradic
#8F2142 #798F21 #218F6E #37218F
square
#8F2142 #798F21 #218F6E #37218F
split-complementary
#8F2142 #218F37 #21798F
monochromatic
#2C0A14 #5D162B #8F2142 #C12C59 #D7537B
Accessibility & contrast
On white
8.52
#8F2142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#8F2142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2142
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2142 | 1.00 | 8.52 | 2.46 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3E43
Deuteranopia (green-blind)
#5A543F
Tritanopia (blue-blind)
#9C022F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8f2142; /* rgb */ color: rgb(143, 33, 66); /* oklch */ color: oklch(43.7% 0.146 8.1);
Tailwind
colors: {
custom: {
50: '#b56776',
500: '#8f2142',
950: '#000000',
},
}SCSS
$custom: #8f2142; $custom-light: #b56776; $custom-dark: #000000;
JSON
{
"hex": "#8f2142",
"rgb": {
"r": 143,
"g": 33,
"b": 66
},
"hsl": {
"h": 342,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.43718,
"c": 0.146,
"h": 8.1
},
"luminance": 0.07321
}Semantic roles & 50–950 ramp
primary
#8F2142
secondary
#51BB9B
accent
#E6B542
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B