#831F5A#831F5A
#831F5A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.147 H 349.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #831F5A |
|---|---|
| RGB | rgb(131, 31, 90) |
| HSL | hsl(325, 62%, 32%) |
| HSV | hsv(325, 76%, 51%) |
| CMYK | cmyk(0%, 76.3%, 31.3%, 48.6%) |
| CIE-LAB | lab(30.75, 47.20, -10.58) |
| CIE-LCH | lch(30.75, 48.37, 347.36°) |
| OKLab | oklab(42.24% 0.1441 -0.0277) |
| OKLCH | oklch(42.24% 0.147 349.1) |
| XYZ | xyz(11.6961, 6.5448, 10.3182) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.20
Reddish Purple
#910951
ΔE00 4.42
Dark Magenta
#960056
ΔE00 4.44
Red Purple
#820747
ΔE00 4.78
Red Violet
#9E0168
ΔE00 5.17
Mulberry
#920A4E
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831F5A #1F8348
analogous
#7A1F83 #831F5A #831F28
triadic
#831F5A #5A831F #1F5A83
tetradic
#831F5A #837A1F #1F8348 #1F2883
square
#831F5A #837A1F #1F8348 #1F2883
split-complementary
#831F5A #28831F #1F837A
monochromatic
#200816 #521338 #831F5A #B42B7C #D4499B
Accessibility & contrast
On white
9.10
#831F5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#831F5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831F5A
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831F5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831F5A | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3D5C
Deuteranopia (green-blind)
#4C4F58
Tritanopia (blue-blind)
#8D1A3A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #831f5a; /* rgb */ color: rgb(131, 31, 90); /* oklch */ color: oklch(42.2% 0.147 349.1);
Tailwind
colors: {
custom: {
50: '#ab6588',
500: '#831f5a',
950: '#000000',
},
}SCSS
$custom: #831f5a; $custom-light: #ab6588; $custom-dark: #000000;
JSON
{
"hex": "#831f5a",
"rgb": {
"r": 131,
"g": 31,
"b": 90
},
"hsl": {
"h": 324.6,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.4224,
"c": 0.14669,
"h": 349.1
},
"luminance": 0.06543
}Semantic roles & 50–950 ramp
primary
#831F5A
secondary
#48B675
accent
#E58543
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11060B
muted
#807A7C