#8A1F4E#8A1F4E
#8A1F4E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.147 H 359.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F4E |
|---|---|
| RGB | rgb(138, 31, 78) |
| HSL | hsl(334, 63%, 33%) |
| HSV | hsv(334, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 43.5%, 45.9%) |
| CIE-LAB | lab(31.66, 47.81, -1.23) |
| CIE-LCH | lch(31.66, 47.82, 358.53°) |
| OKLab | oklab(43.01% 0.1468 -0.0026) |
| OKLCH | oklch(43.01% 0.147 359) |
| XYZ | xyz(12.3473, 6.9349, 7.8946) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.16
Reddish Purple
#910951
ΔE00 2.43
Red Purple
#820747
ΔE00 3.24
Berry
#990F4B
ΔE00 3.46
Dark Magenta
#960056
ΔE00 3.57
Dark Fuchsia
#9D0759
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F4E #1F8A5B
analogous
#8A1F83 #8A1F4E #8A251F
triadic
#8A1F4E #4E8A1F #1F4E8A
tetradic
#8A1F4E #838A1F #1F8A5B #251F8A
square
#8A1F4E #838A1F #1F8A5B #251F8A
split-complementary
#8A1F4E #1F8A25 #1F838A
monochromatic
#260916 #581432 #8A1F4E #BC2A6A #D74C89
Accessibility & contrast
On white
8.80
#8A1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8A1F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F4E
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F4E | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363E4F
Deuteranopia (green-blind)
#54524C
Tritanopia (blue-blind)
#960D34
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1f4e; /* rgb */ color: rgb(138, 31, 78); /* oklch */ color: oklch(43.0% 0.147 359.0);
Tailwind
colors: {
custom: {
50: '#b1667f',
500: '#8a1f4e',
950: '#000000',
},
}SCSS
$custom: #8a1f4e; $custom-light: #b1667f; $custom-dark: #000000;
JSON
{
"hex": "#8a1f4e",
"rgb": {
"r": 138,
"g": 31,
"b": 78
},
"hsl": {
"h": 333.645,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.43012,
"c": 0.14686,
"h": 359
},
"luminance": 0.06933
}Semantic roles & 50–950 ramp
primary
#8A1F4E
secondary
#4BBA89
accent
#E69E41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C