#8A1942#8A1942
#8A1942 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.149 H 5.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1942 |
|---|---|
| RGB | rgb(138, 25, 66) |
| HSL | hsl(338, 69%, 32%) |
| HSV | hsv(338, 82%, 54%) |
| CMYK | cmyk(0%, 81.9%, 52.2%, 45.9%) |
| CIE-LAB | lab(30.63, 48.55, 5.20) |
| CIE-LCH | lch(30.63, 48.83, 6.12°) |
| OKLab | oklab(42.13% 0.1485 0.0137) |
| OKLCH | oklch(42.13% 0.149 5.3) |
| XYZ | xyz(11.8133, 6.4936, 5.7845) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.98
Berry
#990F4B
ΔE00 3.14
Wine (survey)
#80013F
ΔE00 3.73
Mulberry
#920A4E
ΔE00 3.88
Red Wine
#8C0034
ΔE00 3.94
Red Purple
#820747
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1942 #198A61
analogous
#8A197B #8A1942 #8A2919
triadic
#8A1942 #428A19 #19428A
tetradic
#8A1942 #7B8A19 #198A61 #29198A
square
#8A1942 #7B8A19 #198A61 #29198A
split-complementary
#8A1942 #198A29 #197B8A
monochromatic
#220610 #561029 #8A1942 #BE225B #DD4179
Accessibility & contrast
On white
9.14
#8A1942 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8A1942 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1942
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1942 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#54503F
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1942; /* rgb */ color: rgb(138, 25, 66); /* oklch */ color: oklch(42.1% 0.149 5.3);
Tailwind
colors: {
custom: {
50: '#b26376',
500: '#8a1942',
950: '#000000',
},
}SCSS
$custom: #8a1942; $custom-light: #b26376; $custom-dark: #000000;
JSON
{
"hex": "#8a1942",
"rgb": {
"r": 138,
"g": 25,
"b": 66
},
"hsl": {
"h": 338.23,
"s": 69.325,
"l": 31.961
},
"oklch": {
"l": 0.42134,
"c": 0.14916,
"h": 5.3
},
"luminance": 0.06492
}Semantic roles & 50–950 ramp
primary
#8A1942
secondary
#42BD90
accent
#ECAC3C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B