#8A213E#8A213E
#8A213E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.140 H 9.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8A213E |
|---|---|
| RGB | rgb(138, 33, 62) |
| HSL | hsl(343, 61%, 34%) |
| HSV | hsv(343, 76%, 54%) |
| CMYK | cmyk(0%, 76.1%, 55.1%, 45.9%) |
| CIE-LAB | lab(31.44, 45.62, 9.00) |
| CIE-LCH | lch(31.44, 46.50, 11.16°) |
| OKLab | oklab(42.7% 0.1386 0.0229) |
| OKLCH | oklch(42.7% 0.14 9.4) |
| XYZ | xyz(11.8957, 6.8404, 5.2504) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.23
Cranberry
#9E003A
ΔE00 4.34
Purple Red
#990147
ΔE00 4.52
Berry
#990F4B
ΔE00 4.75
Bordeaux
#7B002C
ΔE00 5.16
Wine (survey)
#80013F
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A213E #218A6D
analogous
#8A2172 #8A213E #8A3821
triadic
#8A213E #3E8A21 #213E8A
tetradic
#8A213E #728A21 #218A6D #38218A
square
#8A213E #728A21 #218A6D #38218A
split-complementary
#8A213E #218A38 #21728A
monochromatic
#270912 #591528 #8A213E #BB2D54 #D55075
Accessibility & contrast
On white
8.87
#8A213E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8A213E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A213E
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A213E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A213E | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3C3F
Deuteranopia (green-blind)
#57523B
Tritanopia (blue-blind)
#97042D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a213e; /* rgb */ color: rgb(138, 33, 62); /* oklch */ color: oklch(42.7% 0.140 9.4);
Tailwind
colors: {
custom: {
50: '#b26673',
500: '#8a213e',
950: '#000000',
},
}SCSS
$custom: #8a213e; $custom-light: #b26673; $custom-dark: #000000;
JSON
{
"hex": "#8a213e",
"rgb": {
"r": 138,
"g": 33,
"b": 62
},
"hsl": {
"h": 343.429,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.427,
"c": 0.14044,
"h": 9.4
},
"luminance": 0.06839
}Semantic roles & 50–950 ramp
primary
#8A213E
secondary
#4EB99B
accent
#E5B843
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B