#8A1F43#8A1F43
#8A1F43 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.144 H 5.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F43 |
|---|---|
| RGB | rgb(138, 31, 67) |
| HSL | hsl(340, 63%, 33%) |
| HSV | hsv(340, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 51.4%, 45.9%) |
| CIE-LAB | lab(31.32, 46.75, 5.53) |
| CIE-LCH | lch(31.32, 47.07, 6.75°) |
| OKLab | oklab(42.66% 0.1428 0.0145) |
| OKLCH | oklch(42.66% 0.144 5.8) |
| XYZ | xyz(11.9854, 6.7901, 5.9886) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.36
Berry
#990F4B
ΔE00 3.37
Red Wine
#8C0034
ΔE00 4.17
Mulberry
#920A4E
ΔE00 4.33
Wine (survey)
#80013F
ΔE00 4.44
Red Purple
#820747
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F43 #1F8A66
analogous
#8A1F78 #8A1F43 #8A301F
triadic
#8A1F43 #438A1F #1F438A
tetradic
#8A1F43 #788A1F #1F8A66 #301F8A
square
#8A1F43 #788A1F #1F8A66 #301F8A
split-complementary
#8A1F43 #1F8A30 #1F788A
monochromatic
#260912 #58142B #8A1F43 #BC2A5B #D74C7B
Accessibility & contrast
On white
8.91
#8A1F43 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8A1F43 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F43
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F43 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F43 | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3C44
Deuteranopia (green-blind)
#565140
Tritanopia (blue-blind)
#97042E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1f43; /* rgb */ color: rgb(138, 31, 67); /* oklch */ color: oklch(42.7% 0.144 5.8);
Tailwind
colors: {
custom: {
50: '#b26576',
500: '#8a1f43',
950: '#000000',
},
}SCSS
$custom: #8a1f43; $custom-light: #b26576; $custom-dark: #000000;
JSON
{
"hex": "#8a1f43",
"rgb": {
"r": 138,
"g": 31,
"b": 67
},
"hsl": {
"h": 339.813,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42657,
"c": 0.14353,
"h": 5.8
},
"luminance": 0.06788
}Semantic roles & 50–950 ramp
primary
#8A1F43
secondary
#4BBA94
accent
#E6AF41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B