#8A2145#8A2145
#8A2145 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.142 H 5.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2145 |
|---|---|
| RGB | rgb(138, 33, 69) |
| HSL | hsl(339, 61%, 34%) |
| HSV | hsv(339, 76%, 54%) |
| CMYK | cmyk(0%, 76.1%, 50%, 45.9%) |
| CIE-LAB | lab(31.63, 46.23, 4.65) |
| CIE-LCH | lch(31.63, 46.46, 5.74°) |
| OKLab | oklab(42.9% 0.1413 0.0123) |
| OKLCH | oklch(42.9% 0.142 5) |
| XYZ | xyz(12.1003, 6.9223, 6.3280) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.25
Purple Red
#990147
ΔE00 3.40
Mulberry
#920A4E
ΔE00 4.06
Wine (survey)
#80013F
ΔE00 4.47
Red Wine
#8C0034
ΔE00 4.70
Reddish Purple
#910951
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2145 #218A66
analogous
#8A2179 #8A2145 #8A3121
triadic
#8A2145 #458A21 #21458A
tetradic
#8A2145 #798A21 #218A66 #31218A
square
#8A2145 #798A21 #218A66 #31218A
split-complementary
#8A2145 #218A31 #21798A
monochromatic
#270914 #59152C #8A2145 #BB2D5E #D5507E
Accessibility & contrast
On white
8.81
#8A2145 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8A2145 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2145
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2145 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3D46
Deuteranopia (green-blind)
#565243
Tritanopia (blue-blind)
#970A30
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a2145; /* rgb */ color: rgb(138, 33, 69); /* oklch */ color: oklch(42.9% 0.142 5.0);
Tailwind
colors: {
custom: {
50: '#b16678',
500: '#8a2145',
950: '#000000',
},
}SCSS
$custom: #8a2145; $custom-light: #b16678; $custom-dark: #000000;
JSON
{
"hex": "#8a2145",
"rgb": {
"r": 138,
"g": 33,
"b": 69
},
"hsl": {
"h": 339.429,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.42901,
"c": 0.14187,
"h": 5
},
"luminance": 0.06921
}Semantic roles & 50–950 ramp
primary
#8A2145
secondary
#4EB994
accent
#E5AD43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B