#8A2245#8A2245
#8A2245 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.141 H 5.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2245 |
|---|---|
| RGB | rgb(138, 34, 69) |
| HSL | hsl(340, 60%, 34%) |
| HSV | hsv(340, 75%, 54%) |
| CMYK | cmyk(0%, 75.4%, 50%, 45.9%) |
| CIE-LAB | lab(31.76, 45.87, 4.83) |
| CIE-LCH | lch(31.76, 46.12, 6.02°) |
| OKLab | oklab(43% 0.1402 0.0128) |
| OKLCH | oklch(43% 0.141 5.2) |
| XYZ | xyz(12.1285, 6.9786, 6.3374) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.35
Purple Red
#990147
ΔE00 3.51
Mulberry
#920A4E
ΔE00 4.23
Wine (survey)
#80013F
ΔE00 4.64
Red Wine
#8C0034
ΔE00 4.71
Reddish Purple
#910951
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2245 #228A67
analogous
#8A2279 #8A2245 #8A3322
triadic
#8A2245 #458A22 #22458A
tetradic
#8A2245 #798A22 #228A67 #33228A
square
#8A2245 #798A22 #228A67 #33228A
split-complementary
#8A2245 #228A33 #22798A
monochromatic
#280A14 #59162C #8A2245 #BB2E5E #D4527E
Accessibility & contrast
On white
8.77
#8A2245 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8A2245 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2245
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2245 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2245 | 1.00 | 8.77 | 2.40 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3E46
Deuteranopia (green-blind)
#565243
Tritanopia (blue-blind)
#970C31
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a2245; /* rgb */ color: rgb(138, 34, 69); /* oklch */ color: oklch(43.0% 0.141 5.2);
Tailwind
colors: {
custom: {
50: '#b16778',
500: '#8a2245',
950: '#000000',
},
}SCSS
$custom: #8a2245; $custom-light: #b16778; $custom-dark: #000000;
JSON
{
"hex": "#8a2245",
"rgb": {
"r": 138,
"g": 34,
"b": 69
},
"hsl": {
"h": 339.808,
"s": 60.465,
"l": 33.725
},
"oklch": {
"l": 0.42996,
"c": 0.14075,
"h": 5.2
},
"luminance": 0.06977
}Semantic roles & 50–950 ramp
primary
#8A2245
secondary
#50B895
accent
#E4AE44
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B