#8A1B6F#8A1B6F
#8A1B6F is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.169 H 340.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B6F |
|---|---|
| RGB | rgb(138, 27, 111) |
| HSL | hsl(315, 67%, 32%) |
| HSV | hsv(315, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 19.6%, 45.9%) |
| CIE-LAB | lab(32.56, 53.12, -21.21) |
| CIE-LCH | lch(32.56, 57.20, 338.23°) |
| OKLab | oklab(44.11% 0.1588 -0.0573) |
| OKLCH | oklch(44.11% 0.169 340.1) |
| XYZ | xyz(13.7428, 7.3362, 15.7281) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.90
Darkish Purple
#751973
ΔE00 5.40
Rich Purple
#720058
ΔE00 6.16
Purple
#800080
ΔE00 6.18
Darkmagenta
#8B008B
ΔE00 6.44
Velvet
#750851
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B6F #1B8A36
analogous
#6E1B8A #8A1B6F #8A1B37
triadic
#8A1B6F #6F8A1B #1B6F8A
tetradic
#8A1B6F #8A6E1B #1B8A36 #1B378A
square
#8A1B6F #8A6E1B #1B8A36 #1B378A
split-complementary
#8A1B6F #378A1B #1B8A6E
monochromatic
#24071D #571146 #8A1B6F #BD2598 #DB45B6
Accessibility & contrast
On white
8.51
#8A1B6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#8A1B6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B6F
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B6F | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#49536D
Tritanopia (blue-blind)
#931F44
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8a1b6f; /* rgb */ color: rgb(138, 27, 111); /* oklch */ color: oklch(44.1% 0.169 340.1);
Tailwind
colors: {
custom: {
50: '#b06598',
500: '#8a1b6f',
950: '#000000',
},
}SCSS
$custom: #8a1b6f; $custom-light: #b06598; $custom-dark: #000000;
JSON
{
"hex": "#8a1b6f",
"rgb": {
"r": 138,
"g": 27,
"b": 111
},
"hsl": {
"h": 314.595,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.44107,
"c": 0.16879,
"h": 340.1
},
"luminance": 0.07335
}Semantic roles & 50–950 ramp
primary
#8A1B6F
secondary
#45BC62
accent
#EA683E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E