#8A1B5F#8A1B5F
#8A1B5F is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.159 H 348.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B5F |
|---|---|
| RGB | rgb(138, 27, 95) |
| HSL | hsl(323, 67%, 32%) |
| HSV | hsv(323, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 31.2%, 45.9%) |
| CIE-LAB | lab(31.84, 51.00, -12.05) |
| CIE-LCH | lch(31.84, 52.41, 346.71°) |
| OKLab | oklab(43.35% 0.1558 -0.0316) |
| OKLCH | oklch(43.35% 0.159 348.5) |
| XYZ | xyz(12.9394, 7.0149, 11.4969) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.70
Dark Magenta
#960056
ΔE00 3.89
Reddish Purple
#910951
ΔE00 4.33
Dark Fuchsia
#9D0759
ΔE00 4.78
Deep Magenta
#A0025C
ΔE00 4.84
Velvet
#750851
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B5F #1B8A46
analogous
#7D1B8A #8A1B5F #8A1B28
triadic
#8A1B5F #5F8A1B #1B5F8A
tetradic
#8A1B5F #8A7D1B #1B8A46 #1B288A
square
#8A1B5F #8A7D1B #1B8A46 #1B288A
split-complementary
#8A1B5F #288A1B #1B8A7D
monochromatic
#240719 #57113C #8A1B5F #BD2582 #DB45A1
Accessibility & contrast
On white
8.74
#8A1B5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8A1B5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B5F
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B5F | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3F61
Deuteranopia (green-blind)
#4E525D
Tritanopia (blue-blind)
#94143B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a1b5f; /* rgb */ color: rgb(138, 27, 95); /* oklch */ color: oklch(43.4% 0.159 348.5);
Tailwind
colors: {
custom: {
50: '#b0658c',
500: '#8a1b5f',
950: '#000000',
},
}SCSS
$custom: #8a1b5f; $custom-light: #b0658c; $custom-dark: #000000;
JSON
{
"hex": "#8a1b5f",
"rgb": {
"r": 138,
"g": 27,
"b": 95
},
"hsl": {
"h": 323.243,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.43352,
"c": 0.15901,
"h": 348.5
},
"luminance": 0.07013
}Semantic roles & 50–950 ramp
primary
#8A1B5F
secondary
#45BC73
accent
#EA803E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D