#8A1940#8A1940
#8A1940 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.149 H 6.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1940 |
|---|---|
| RGB | rgb(138, 25, 64) |
| HSL | hsl(339, 69%, 32%) |
| HSV | hsv(339, 82%, 54%) |
| CMYK | cmyk(0%, 81.9%, 53.6%, 45.9%) |
| CIE-LAB | lab(30.57, 48.39, 6.45) |
| CIE-LCH | lch(30.57, 48.81, 7.60°) |
| OKLab | oklab(42.08% 0.1478 0.0167) |
| OKLCH | oklch(42.08% 0.149 6.5) |
| XYZ | xyz(11.7554, 6.4704, 5.4794) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.22
Red Wine
#8C0034
ΔE00 3.37
Berry
#990F4B
ΔE00 3.50
Wine (survey)
#80013F
ΔE00 4.12
Mulberry
#920A4E
ΔE00 4.50
Cranberry
#9E003A
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1940 #198A63
analogous
#8A1979 #8A1940 #8A2B19
triadic
#8A1940 #408A19 #19408A
tetradic
#8A1940 #798A19 #198A63 #2B198A
square
#8A1940 #798A19 #198A63 #2B198A
split-complementary
#8A1940 #198A2B #19798A
monochromatic
#220610 #561028 #8A1940 #BE2258 #DD4177
Accessibility & contrast
On white
9.16
#8A1940 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8A1940 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1940
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1940 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A41
Deuteranopia (green-blind)
#55503D
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1940; /* rgb */ color: rgb(138, 25, 64); /* oklch */ color: oklch(42.1% 0.149 6.5);
Tailwind
colors: {
custom: {
50: '#b26374',
500: '#8a1940',
950: '#000000',
},
}SCSS
$custom: #8a1940; $custom-light: #b26374; $custom-dark: #000000;
JSON
{
"hex": "#8a1940",
"rgb": {
"r": 138,
"g": 25,
"b": 64
},
"hsl": {
"h": 339.292,
"s": 69.325,
"l": 31.961
},
"oklch": {
"l": 0.42075,
"c": 0.14869,
"h": 6.5
},
"luminance": 0.06469
}Semantic roles & 50–950 ramp
primary
#8A1940
secondary
#42BD93
accent
#ECAF3C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B