#8A2342#8A2342
#8A2342 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.139 H 7.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2342 |
|---|---|
| RGB | rgb(138, 35, 66) |
| HSL | hsl(342, 60%, 34%) |
| HSV | hsv(342, 75%, 54%) |
| CMYK | cmyk(0%, 74.6%, 52.2%, 45.9%) |
| CIE-LAB | lab(31.81, 45.23, 6.88) |
| CIE-LCH | lch(31.81, 45.75, 8.65°) |
| OKLab | oklab(43.01% 0.1378 0.0178) |
| OKLCH | oklch(43.01% 0.139 7.4) |
| XYZ | xyz(12.0667, 7.0003, 5.8690) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 4.00
Berry
#990F4B
ΔE00 4.02
Red Wine
#8C0034
ΔE00 4.05
Cranberry
#9E003A
ΔE00 5.01
Mulberry
#920A4E
ΔE00 5.27
Wine (survey)
#80013F
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2342 #238A6B
analogous
#8A2376 #8A2342 #8A3823
triadic
#8A2342 #428A23 #23428A
tetradic
#8A2342 #768A23 #238A6B #38238A
square
#8A2342 #768A23 #238A6B #38238A
split-complementary
#8A2342 #238A38 #23768A
monochromatic
#280A13 #59172B #8A2342 #BB2F59 #D4547A
Accessibility & contrast
On white
8.75
#8A2342 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8A2342 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2342
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2342 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2342 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3E43
Deuteranopia (green-blind)
#575240
Tritanopia (blue-blind)
#970C30
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a2342; /* rgb */ color: rgb(138, 35, 66); /* oklch */ color: oklch(43.0% 0.139 7.4);
Tailwind
colors: {
custom: {
50: '#b16776',
500: '#8a2342',
950: '#000000',
},
}SCSS
$custom: #8a2342; $custom-light: #b16776; $custom-dark: #000000;
JSON
{
"hex": "#8a2342",
"rgb": {
"r": 138,
"g": 35,
"b": 66
},
"hsl": {
"h": 341.942,
"s": 59.538,
"l": 33.922
},
"oklch": {
"l": 0.43005,
"c": 0.13896,
"h": 7.4
},
"luminance": 0.06999
}Semantic roles & 50–950 ramp
primary
#8A2342
secondary
#51B799
accent
#E3B345
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B