#8A1F5F#8A1F5F
#8A1F5F is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.155 H 348.9°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F5F |
|---|---|
| RGB | rgb(138, 31, 95) |
| HSL | hsl(324, 63%, 33%) |
| HSV | hsv(324, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 31.2%, 45.9%) |
| CIE-LAB | lab(32.28, 49.75, -11.37) |
| CIE-LCH | lch(32.28, 51.03, 347.12°) |
| OKLab | oklab(43.67% 0.1519 -0.0298) |
| OKLCH | oklch(43.67% 0.155 348.9) |
| XYZ | xyz(13.0375, 7.2110, 11.5295) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.83
Dark Magenta
#960056
ΔE00 3.91
Reddish Purple
#910951
ΔE00 4.28
Dark Fuchsia
#9D0759
ΔE00 4.68
Deep Magenta
#A0025C
ΔE00 4.77
Mulberry
#920A4E
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F5F #1F8A4A
analogous
#7F1F8A #8A1F5F #8A1F29
triadic
#8A1F5F #5F8A1F #1F5F8A
tetradic
#8A1F5F #8A7F1F #1F8A4A #1F298A
square
#8A1F5F #8A7F1F #1F8A4A #1F298A
split-complementary
#8A1F5F #298A1F #1F8A7F
monochromatic
#26091A #58143D #8A1F5F #BC2A81 #D74C9F
Accessibility & contrast
On white
8.60
#8A1F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#8A1F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F5F
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F5F | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304061
Deuteranopia (green-blind)
#4F535D
Tritanopia (blue-blind)
#94193C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a1f5f; /* rgb */ color: rgb(138, 31, 95); /* oklch */ color: oklch(43.7% 0.155 348.9);
Tailwind
colors: {
custom: {
50: '#b0668c',
500: '#8a1f5f',
950: '#000000',
},
}SCSS
$custom: #8a1f5f; $custom-light: #b0668c; $custom-dark: #000000;
JSON
{
"hex": "#8a1f5f",
"rgb": {
"r": 138,
"g": 31,
"b": 95
},
"hsl": {
"h": 324.112,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.43673,
"c": 0.15479,
"h": 348.9
},
"luminance": 0.07209
}Semantic roles & 50–950 ramp
primary
#8A1F5F
secondary
#4BBA78
accent
#E68441
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D