#8A2146#8A2146
#8A2146 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.142 H 4.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2146 |
|---|---|
| RGB | rgb(138, 33, 70) |
| HSL | hsl(339, 61%, 34%) |
| HSV | hsv(339, 76%, 54%) |
| CMYK | cmyk(0%, 76.1%, 49.3%, 45.9%) |
| CIE-LAB | lab(31.66, 46.32, 4.03) |
| CIE-LCH | lch(31.66, 46.50, 4.97°) |
| OKLab | oklab(42.93% 0.1417 0.0108) |
| OKLCH | oklch(42.93% 0.142 4.4) |
| XYZ | xyz(12.1316, 6.9348, 6.4929) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.13
Purple Red
#990147
ΔE00 3.36
Mulberry
#920A4E
ΔE00 3.79
Wine (survey)
#80013F
ΔE00 4.35
Reddish Purple
#910951
ΔE00 4.63
Red Purple
#820747
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2146 #218A65
analogous
#8A217A #8A2146 #8A3021
triadic
#8A2146 #468A21 #21468A
tetradic
#8A2146 #7A8A21 #218A65 #30218A
square
#8A2146 #7A8A21 #218A65 #30218A
split-complementary
#8A2146 #218A30 #217A8A
monochromatic
#270914 #59152D #8A2146 #BB2D5F #D5507F
Accessibility & contrast
On white
8.80
#8A2146 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8A2146 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2146
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2146 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2146 | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3D47
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#960B31
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a2146; /* rgb */ color: rgb(138, 33, 70); /* oklch */ color: oklch(42.9% 0.142 4.4);
Tailwind
colors: {
custom: {
50: '#b16679',
500: '#8a2146',
950: '#000000',
},
}SCSS
$custom: #8a2146; $custom-light: #b16679; $custom-dark: #000000;
JSON
{
"hex": "#8a2146",
"rgb": {
"r": 138,
"g": 33,
"b": 70
},
"hsl": {
"h": 338.857,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.42931,
"c": 0.14212,
"h": 4.4
},
"luminance": 0.06933
}Semantic roles & 50–950 ramp
primary
#8A2146
secondary
#4EB993
accent
#E5AC43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B