#8A2140#8A2140
#8A2140 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.141 H 8.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2140 |
|---|---|
| RGB | rgb(138, 33, 64) |
| HSL | hsl(342, 61%, 34%) |
| HSV | hsv(342, 76%, 54%) |
| CMYK | cmyk(0%, 76.1%, 53.6%, 45.9%) |
| CIE-LAB | lab(31.49, 45.79, 7.75) |
| CIE-LCH | lch(31.49, 46.44, 9.61°) |
| OKLab | oklab(42.76% 0.1394 0.0199) |
| OKLCH | oklch(42.76% 0.141 8.1) |
| XYZ | xyz(11.9516, 6.8628, 5.5448) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.55
Purple Red
#990147
ΔE00 4.08
Berry
#990F4B
ΔE00 4.23
Cranberry
#9E003A
ΔE00 4.65
Wine (survey)
#80013F
ΔE00 5.38
Bordeaux
#7B002C
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2140 #218A6B
analogous
#8A2174 #8A2140 #8A3621
triadic
#8A2140 #408A21 #21408A
tetradic
#8A2140 #748A21 #218A6B #36218A
square
#8A2140 #748A21 #218A6B #36218A
split-complementary
#8A2140 #218A36 #21748A
monochromatic
#270912 #591529 #8A2140 #BB2D57 #D55077
Accessibility & contrast
On white
8.85
#8A2140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8A2140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2140
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2140 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3D41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#97062E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a2140; /* rgb */ color: rgb(138, 33, 64); /* oklch */ color: oklch(42.8% 0.141 8.1);
Tailwind
colors: {
custom: {
50: '#b26674',
500: '#8a2140',
950: '#000000',
},
}SCSS
$custom: #8a2140; $custom-light: #b26674; $custom-dark: #000000;
JSON
{
"hex": "#8a2140",
"rgb": {
"r": 138,
"g": 33,
"b": 64
},
"hsl": {
"h": 342.286,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.42755,
"c": 0.14078,
"h": 8.1
},
"luminance": 0.06861
}Semantic roles & 50–950 ramp
primary
#8A2140
secondary
#4EB999
accent
#E5B543
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B