#8A1843#8A1843
#8A1843 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.150 H 4.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1843 |
|---|---|
| RGB | rgb(138, 24, 67) |
| HSL | hsl(337, 70%, 32%) |
| HSV | hsv(337, 83%, 54%) |
| CMYK | cmyk(0%, 82.6%, 51.4%, 45.9%) |
| CIE-LAB | lab(30.55, 48.93, 4.44) |
| CIE-LCH | lch(30.55, 49.13, 5.18°) |
| OKLab | oklab(42.09% 0.1498 0.0118) |
| OKLCH | oklch(42.09% 0.15 4.5) |
| XYZ | xyz(11.8220, 6.4635, 5.9342) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.87
Berry
#990F4B
ΔE00 2.98
Wine (survey)
#80013F
ΔE00 3.45
Mulberry
#920A4E
ΔE00 3.48
Red Purple
#820747
ΔE00 4.20
Red Wine
#8C0034
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1843 #188A5F
analogous
#8A187C #8A1843 #8A2618
triadic
#8A1843 #438A18 #18438A
tetradic
#8A1843 #7C8A18 #188A5F #26188A
square
#8A1843 #7C8A18 #188A5F #26188A
split-complementary
#8A1843 #188A26 #187C8A
monochromatic
#220610 #560F2A #8A1843 #BE215C #DE3F7B
Accessibility & contrast
On white
9.16
#8A1843 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8A1843 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1843
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1843 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1843 | 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)
#363A44
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1843; /* rgb */ color: rgb(138, 24, 67); /* oklch */ color: oklch(42.1% 0.150 4.5);
Tailwind
colors: {
custom: {
50: '#b26376',
500: '#8a1843',
950: '#000000',
},
}SCSS
$custom: #8a1843; $custom-light: #b26376; $custom-dark: #000000;
JSON
{
"hex": "#8a1843",
"rgb": {
"r": 138,
"g": 24,
"b": 67
},
"hsl": {
"h": 337.368,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.4209,
"c": 0.15029,
"h": 4.5
},
"luminance": 0.06462
}Semantic roles & 50–950 ramp
primary
#8A1843
secondary
#40BD8E
accent
#EDAA3B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B