#8A1B4F#8A1B4F
#8A1B4F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.151 H 357.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B4F |
|---|---|
| RGB | rgb(138, 27, 79) |
| HSL | hsl(332, 67%, 32%) |
| HSV | hsv(332, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 42.8%, 45.9%) |
| CIE-LAB | lab(31.24, 49.19, -2.50) |
| CIE-LCH | lch(31.24, 49.25, 357.09°) |
| OKLab | oklab(42.72% 0.1513 -0.006) |
| OKLCH | oklch(42.72% 0.151 357.7) |
| XYZ | xyz(12.2854, 6.7533, 8.0522) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 1.82
Mulberry
#920A4E
ΔE00 1.87
Red Purple
#820747
ΔE00 2.75
Dark Magenta
#960056
ΔE00 2.96
Dark Fuchsia
#9D0759
ΔE00 3.72
Berry
#990F4B
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B4F #1B8A56
analogous
#8A1B87 #8A1B4F #8A1F1B
triadic
#8A1B4F #4F8A1B #1B4F8A
tetradic
#8A1B4F #878A1B #1B8A56 #1F1B8A
square
#8A1B4F #878A1B #1B8A56 #1F1B8A
split-complementary
#8A1B4F #1B8A1F #1B878A
monochromatic
#240714 #571132 #8A1B4F #BD256C #DB458B
Accessibility & contrast
On white
8.93
#8A1B4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8A1B4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B4F
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B4F | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343C50
Deuteranopia (green-blind)
#52514C
Tritanopia (blue-blind)
#960633
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1b4f; /* rgb */ color: rgb(138, 27, 79); /* oklch */ color: oklch(42.7% 0.151 357.7);
Tailwind
colors: {
custom: {
50: '#b16480',
500: '#8a1b4f',
950: '#000000',
},
}SCSS
$custom: #8a1b4f; $custom-light: #b16480; $custom-dark: #000000;
JSON
{
"hex": "#8a1b4f",
"rgb": {
"r": 138,
"g": 27,
"b": 79
},
"hsl": {
"h": 331.892,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42715,
"c": 0.1514,
"h": 357.7
},
"luminance": 0.06752
}Semantic roles & 50–950 ramp
primary
#8A1B4F
secondary
#45BC84
accent
#EA993E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C