#831A5D#831A5D
#831A5D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.154 H 346.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #831A5D |
|---|---|
| RGB | rgb(131, 26, 93) |
| HSL | hsl(322, 67%, 31%) |
| HSV | hsv(322, 80%, 51%) |
| CMYK | cmyk(0%, 80.2%, 29%, 48.6%) |
| CIE-LAB | lab(30.29, 49.23, -13.23) |
| CIE-LCH | lch(30.29, 50.98, 344.96°) |
| OKLab | oklab(41.95% 0.1499 -0.035) |
| OKLCH | oklch(41.95% 0.154 346.9) |
| XYZ | xyz(11.7058, 6.3557, 10.9641) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.69
Dark Magenta
#960056
ΔE00 4.95
Red Violet
#9E0168
ΔE00 4.95
Rich Purple
#720058
ΔE00 5.00
Reddish Purple
#910951
ΔE00 5.18
Red Purple
#820747
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831A5D #1A8340
analogous
#741A83 #831A5D #831A29
triadic
#831A5D #5D831A #1A5D83
tetradic
#831A5D #83741A #1A8340 #1A2983
square
#831A5D #83741A #1A8340 #1A2983
split-complementary
#831A5D #29831A #1A8374
monochromatic
#1D0614 #501039 #831A5D #B62481 #D93FA1
Accessibility & contrast
On white
9.25
#831A5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#831A5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831A5D
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831A5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831A5D | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3C5F
Deuteranopia (green-blind)
#494E5B
Tritanopia (blue-blind)
#8D1639
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #831a5d; /* rgb */ color: rgb(131, 26, 93); /* oklch */ color: oklch(42.0% 0.154 346.9);
Tailwind
colors: {
custom: {
50: '#ab638b',
500: '#831a5d',
950: '#000000',
},
}SCSS
$custom: #831a5d; $custom-light: #ab638b; $custom-dark: #000000;
JSON
{
"hex": "#831a5d",
"rgb": {
"r": 131,
"g": 26,
"b": 93
},
"hsl": {
"h": 321.714,
"s": 66.879,
"l": 30.784
},
"oklch": {
"l": 0.41951,
"c": 0.15394,
"h": 346.9
},
"luminance": 0.06354
}Semantic roles & 50–950 ramp
primary
#831A5D
secondary
#42B76C
accent
#EA7C3E
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D