#8A1F4F#8A1F4F
#8A1F4F is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.147 H 358.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F4F |
|---|---|
| RGB | rgb(138, 31, 79) |
| HSL | hsl(333, 63%, 33%) |
| HSV | hsv(333, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 42.8%, 45.9%) |
| CIE-LAB | lab(31.69, 47.91, -1.84) |
| CIE-LCH | lch(31.69, 47.94, 357.81°) |
| OKLab | oklab(43.05% 0.1472 -0.0042) |
| OKLCH | oklch(43.05% 0.147 358.4) |
| XYZ | xyz(12.3834, 6.9494, 8.0849) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.16
Reddish Purple
#910951
ΔE00 2.30
Red Purple
#820747
ΔE00 3.21
Dark Magenta
#960056
ΔE00 3.39
Berry
#990F4B
ΔE00 3.63
Dark Fuchsia
#9D0759
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F4F #1F8A5A
analogous
#8A1F84 #8A1F4F #8A241F
triadic
#8A1F4F #4F8A1F #1F4F8A
tetradic
#8A1F4F #848A1F #1F8A5A #241F8A
square
#8A1F4F #848A1F #1F8A5A #241F8A
split-complementary
#8A1F4F #1F8A24 #1F848A
monochromatic
#260916 #581432 #8A1F4F #BC2A6C #D74C8B
Accessibility & contrast
On white
8.79
#8A1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8A1F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F4F
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F4F | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363E50
Deuteranopia (green-blind)
#53524D
Tritanopia (blue-blind)
#960E34
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a1f4f; /* rgb */ color: rgb(138, 31, 79); /* oklch */ color: oklch(43.0% 0.147 358.4);
Tailwind
colors: {
custom: {
50: '#b16680',
500: '#8a1f4f',
950: '#000000',
},
}SCSS
$custom: #8a1f4f; $custom-light: #b16680; $custom-dark: #000000;
JSON
{
"hex": "#8a1f4f",
"rgb": {
"r": 138,
"g": 31,
"b": 79
},
"hsl": {
"h": 333.084,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.43047,
"c": 0.14724,
"h": 358.4
},
"luminance": 0.06948
}Semantic roles & 50–950 ramp
primary
#8A1F4F
secondary
#4BBA88
accent
#E69C41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C