#831F5D#831F5D
#831F5D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.148 H 347.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #831F5D |
|---|---|
| RGB | rgb(131, 31, 93) |
| HSL | hsl(323, 62%, 32%) |
| HSV | hsv(323, 76%, 51%) |
| CMYK | cmyk(0%, 76.3%, 29%, 48.6%) |
| CIE-LAB | lab(30.87, 47.59, -12.35) |
| CIE-LCH | lch(30.87, 49.16, 345.45°) |
| OKLab | oklab(42.37% 0.1448 -0.0326) |
| OKLCH | oklch(42.37% 0.148 347.3) |
| XYZ | xyz(11.8264, 6.5969, 11.0043) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.15
Dark Magenta
#960056
ΔE00 4.90
Red Violet
#9E0168
ΔE00 5.02
Reddish Purple
#910951
ΔE00 5.05
Red Purple
#820747
ΔE00 5.50
Rich Purple
#720058
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831F5D #1F8345
analogous
#771F83 #831F5D #831F2B
triadic
#831F5D #5D831F #1F5D83
tetradic
#831F5D #83771F #1F8345 #1F2B83
square
#831F5D #83771F #1F8345 #1F2B83
split-complementary
#831F5D #2B831F #1F8377
monochromatic
#200817 #52133A #831F5D #B42B80 #D4499F
Accessibility & contrast
On white
9.05
#831F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#831F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831F5D
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831F5D | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3E5F
Deuteranopia (green-blind)
#4B4F5B
Tritanopia (blue-blind)
#8D1B3B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #831f5d; /* rgb */ color: rgb(131, 31, 93); /* oklch */ color: oklch(42.4% 0.148 347.3);
Tailwind
colors: {
custom: {
50: '#ab658b',
500: '#831f5d',
950: '#000000',
},
}SCSS
$custom: #831f5d; $custom-light: #ab658b; $custom-dark: #000000;
JSON
{
"hex": "#831f5d",
"rgb": {
"r": 131,
"g": 31,
"b": 93
},
"hsl": {
"h": 322.8,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.42371,
"c": 0.14841,
"h": 347.3
},
"luminance": 0.06596
}Semantic roles & 50–950 ramp
primary
#831F5D
secondary
#48B672
accent
#E58043
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D