#8A2142#8A2142
#8A2142 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.141 H 6.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2142 |
|---|---|
| RGB | rgb(138, 33, 66) |
| HSL | hsl(341, 61%, 34%) |
| HSV | hsv(341, 76%, 54%) |
| CMYK | cmyk(0%, 76.1%, 52.2%, 45.9%) |
| CIE-LAB | lab(31.55, 45.96, 6.51) |
| CIE-LCH | lch(31.55, 46.42, 8.06°) |
| OKLab | oklab(42.81% 0.1402 0.0169) |
| OKLCH | oklch(42.81% 0.141 6.9) |
| XYZ | xyz(12.0095, 6.8860, 5.8499) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.72
Berry
#990F4B
ΔE00 3.77
Red Wine
#8C0034
ΔE00 3.96
Mulberry
#920A4E
ΔE00 4.93
Wine (survey)
#80013F
ΔE00 4.96
Cranberry
#9E003A
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2142 #218A69
analogous
#8A2176 #8A2142 #8A3421
triadic
#8A2142 #428A21 #21428A
tetradic
#8A2142 #768A21 #218A69 #34218A
square
#8A2142 #768A21 #218A69 #34218A
split-complementary
#8A2142 #218A34 #21768A
monochromatic
#270913 #59152A #8A2142 #BB2D5A #D5507A
Accessibility & contrast
On white
8.84
#8A2142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8A2142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2142
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2142 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3D43
Deuteranopia (green-blind)
#56523F
Tritanopia (blue-blind)
#97072F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a2142; /* rgb */ color: rgb(138, 33, 66); /* oklch */ color: oklch(42.8% 0.141 6.9);
Tailwind
colors: {
custom: {
50: '#b26676',
500: '#8a2142',
950: '#000000',
},
}SCSS
$custom: #8a2142; $custom-light: #b26676; $custom-dark: #000000;
JSON
{
"hex": "#8a2142",
"rgb": {
"r": 138,
"g": 33,
"b": 66
},
"hsl": {
"h": 341.143,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.42812,
"c": 0.14118,
"h": 6.9
},
"luminance": 0.06884
}Semantic roles & 50–950 ramp
primary
#8A2142
secondary
#4EB997
accent
#E5B243
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B