#8A1836#8A1836
#8A1836 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.148 H 12.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1836 |
|---|---|
| RGB | rgb(138, 24, 54) |
| HSL | hsl(344, 70%, 32%) |
| HSV | hsv(344, 83%, 54%) |
| CMYK | cmyk(0%, 82.6%, 60.9%, 45.9%) |
| CIE-LAB | lab(30.22, 47.91, 12.62) |
| CIE-LCH | lch(30.22, 49.54, 14.75°) |
| OKLab | oklab(41.73% 0.1446 0.0312) |
| OKLCH | oklch(41.73% 0.148 12.2) |
| XYZ | xyz(11.4749, 6.3246, 4.1059) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.93
Cranberry
#9E003A
ΔE00 3.71
Bordeaux
#7B002C
ΔE00 4.01
Wine Red
#7B0323
ΔE00 4.99
Purple Red
#990147
ΔE00 5.63
Burgundy
#800020
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1836 #188A6C
analogous
#8A186F #8A1836 #8A3318
triadic
#8A1836 #368A18 #18368A
tetradic
#8A1836 #6F8A18 #188A6C #33188A
square
#8A1836 #6F8A18 #188A6C #33188A
split-complementary
#8A1836 #188A33 #186F8A
monochromatic
#22060D #560F22 #8A1836 #BE214A #DE3F69
Accessibility & contrast
On white
9.27
#8A1836 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#8A1836 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1836
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1836 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1836 | 1.00 | 9.27 | 2.26 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393836
Deuteranopia (green-blind)
#564F33
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1836; /* rgb */ color: rgb(138, 24, 54); /* oklch */ color: oklch(41.7% 0.148 12.2);
Tailwind
colors: {
custom: {
50: '#b3626c',
500: '#8a1836',
950: '#000000',
},
}SCSS
$custom: #8a1836; $custom-light: #b3626c; $custom-dark: #000000;
JSON
{
"hex": "#8a1836",
"rgb": {
"r": 138,
"g": 24,
"b": 54
},
"hsl": {
"h": 344.211,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.41734,
"c": 0.14797,
"h": 12.2
},
"luminance": 0.06323
}Semantic roles & 50–950 ramp
primary
#8A1836
secondary
#40BD9D
accent
#EDBE3B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A