#8A1F4D#8A1F4D
#8A1F4D is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.146 H 359.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F4D |
|---|---|
| RGB | rgb(138, 31, 77) |
| HSL | hsl(334, 63%, 33%) |
| HSV | hsv(334, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 44.2%, 45.9%) |
| CIE-LAB | lab(31.63, 47.70, -0.62) |
| CIE-LCH | lch(31.63, 47.71, 359.26°) |
| OKLab | oklab(42.98% 0.1465 -0.0011) |
| OKLCH | oklch(42.98% 0.146 359.6) |
| XYZ | xyz(12.3117, 6.9207, 7.7072) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.21
Reddish Purple
#910951
ΔE00 2.60
Berry
#990F4B
ΔE00 3.30
Red Purple
#820747
ΔE00 3.30
Dark Magenta
#960056
ΔE00 3.77
Purple Red
#990147
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F4D #1F8A5C
analogous
#8A1F82 #8A1F4D #8A271F
triadic
#8A1F4D #4D8A1F #1F4D8A
tetradic
#8A1F4D #828A1F #1F8A5C #271F8A
square
#8A1F4D #828A1F #1F8A5C #271F8A
split-complementary
#8A1F4D #1F8A27 #1F828A
monochromatic
#260915 #581431 #8A1F4D #BC2A69 #D74C88
Accessibility & contrast
On white
8.81
#8A1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8A1F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F4D
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F4D | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373D4E
Deuteranopia (green-blind)
#54524B
Tritanopia (blue-blind)
#960C33
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1f4d; /* rgb */ color: rgb(138, 31, 77); /* oklch */ color: oklch(43.0% 0.146 359.6);
Tailwind
colors: {
custom: {
50: '#b1667e',
500: '#8a1f4d',
950: '#000000',
},
}SCSS
$custom: #8a1f4d; $custom-light: #b1667e; $custom-dark: #000000;
JSON
{
"hex": "#8a1f4d",
"rgb": {
"r": 138,
"g": 31,
"b": 77
},
"hsl": {
"h": 334.206,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42978,
"c": 0.14649,
"h": 359.6
},
"luminance": 0.06919
}Semantic roles & 50–950 ramp
primary
#8A1F4D
secondary
#4BBA8A
accent
#E69F41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C