#8F2146#8F2146
#8F2146 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.8% C 0.147 H 5.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2146 |
|---|---|
| RGB | rgb(143, 33, 70) |
| HSL | hsl(340, 63%, 35%) |
| HSV | hsv(340, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 51%, 43.9%) |
| CIE-LAB | lab(32.64, 47.83, 5.56) |
| CIE-LCH | lch(32.64, 48.15, 6.63°) |
| OKLab | oklab(43.83% 0.1461 0.0146) |
| OKLCH | oklch(43.83% 0.147 5.7) |
| XYZ | xyz(12.9782, 7.3713, 6.5326) |
| Luminance | 0.0737 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.75
Purple Red
#990147
ΔE00 2.92
Mulberry
#920A4E
ΔE00 4.21
Red Wine
#8C0034
ΔE00 4.61
Cranberry
#9E003A
ΔE00 4.97
Reddish Purple
#910951
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2146 #218F6A
analogous
#8F217D #8F2146 #8F3321
triadic
#8F2146 #468F21 #21468F
tetradic
#8F2146 #7D8F21 #218F6A #33218F
square
#8F2146 #7D8F21 #218F6A #33218F
split-complementary
#8F2146 #218F33 #217D8F
monochromatic
#2C0A15 #5D162E #8F2146 #C12C5E #D75380
Accessibility & contrast
On white
8.49
#8F2146 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#8F2146 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2146
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2146 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2146 | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3F47
Deuteranopia (green-blind)
#595543
Tritanopia (blue-blind)
#9C0531
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8f2146; /* rgb */ color: rgb(143, 33, 70); /* oklch */ color: oklch(43.8% 0.147 5.7);
Tailwind
colors: {
custom: {
50: '#b56779',
500: '#8f2146',
950: '#000000',
},
}SCSS
$custom: #8f2146; $custom-light: #b56779; $custom-dark: #000000;
JSON
{
"hex": "#8f2146",
"rgb": {
"r": 143,
"g": 33,
"b": 70
},
"hsl": {
"h": 339.818,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.43832,
"c": 0.14683,
"h": 5.7
},
"luminance": 0.0737
}Semantic roles & 50–950 ramp
primary
#8F2146
secondary
#51BB97
accent
#E6AF42
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120709
muted
#817A7B