#8E1F4B#8E1F4B
#8E1F4B is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.149 H 2.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1F4B |
|---|---|
| RGB | rgb(142, 31, 75) |
| HSL | hsl(336, 64%, 34%) |
| HSV | hsv(336, 78%, 56%) |
| CMYK | cmyk(0%, 78.2%, 47.2%, 44.3%) |
| CIE-LAB | lab(32.35, 48.66, 1.84) |
| CIE-LCH | lch(32.35, 48.70, 2.17°) |
| OKLab | oklab(43.63% 0.1493 0.0053) |
| OKLCH | oklch(43.63% 0.149 2) |
| XYZ | xyz(12.9164, 7.2405, 7.3726) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.28
Mulberry
#920A4E
ΔE00 2.51
Purple Red
#990147
ΔE00 2.88
Reddish Purple
#910951
ΔE00 3.31
Red Purple
#820747
ΔE00 4.26
Dark Magenta
#960056
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1F4B #1F8E62
analogous
#8E1F83 #8E1F4B #8E2B1F
triadic
#8E1F4B #4B8E1F #1F4B8E
tetradic
#8E1F4B #838E1F #1F8E62 #2B1F8E
square
#8E1F4B #838E1F #1F8E62 #2B1F8E
split-complementary
#8E1F4B #1F8E2B #1F838E
monochromatic
#2A0916 #5C1430 #8E1F4B #C02A66 #D94F85
Accessibility & contrast
On white
8.58
#8E1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8E1F4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1F4B
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1F4B | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393E4C
Deuteranopia (green-blind)
#575448
Tritanopia (blue-blind)
#9B0632
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e1f4b; /* rgb */ color: rgb(142, 31, 75); /* oklch */ color: oklch(43.6% 0.149 2.0);
Tailwind
colors: {
custom: {
50: '#b4667d',
500: '#8e1f4b',
950: '#000000',
},
}SCSS
$custom: #8e1f4b; $custom-light: #b4667d; $custom-dark: #000000;
JSON
{
"hex": "#8e1f4b",
"rgb": {
"r": 142,
"g": 31,
"b": 75
},
"hsl": {
"h": 336.216,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.43631,
"c": 0.14936,
"h": 2
},
"luminance": 0.07239
}Semantic roles & 50–950 ramp
primary
#8E1F4B
secondary
#4DBB90
accent
#E7A541
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B