#831F5C#831F5C
#831F5C is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.148 H 347.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #831F5C |
|---|---|
| RGB | rgb(131, 31, 92) |
| HSL | hsl(323, 62%, 32%) |
| HSV | hsv(323, 76%, 51%) |
| CMYK | cmyk(0%, 76.3%, 29.8%, 48.6%) |
| CIE-LAB | lab(30.83, 47.46, -11.76) |
| CIE-LCH | lch(30.83, 48.89, 346.08°) |
| OKLab | oklab(42.33% 0.1446 -0.031) |
| OKLCH | oklch(42.33% 0.148 347.9) |
| XYZ | xyz(11.7824, 6.5793, 10.7726) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.15
Dark Magenta
#960056
ΔE00 4.74
Reddish Purple
#910951
ΔE00 4.84
Red Violet
#9E0168
ΔE00 5.05
Red Purple
#820747
ΔE00 5.26
Rich Purple
#720058
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831F5C #1F8346
analogous
#781F83 #831F5C #831F2A
triadic
#831F5C #5C831F #1F5C83
tetradic
#831F5C #83781F #1F8346 #1F2A83
square
#831F5C #83781F #1F8346 #1F2A83
split-complementary
#831F5C #2A831F #1F8378
monochromatic
#200816 #521339 #831F5C #B42B7F #D4499E
Accessibility & contrast
On white
9.07
#831F5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#831F5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831F5C
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831F5C | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3D5E
Deuteranopia (green-blind)
#4B4F5A
Tritanopia (blue-blind)
#8D1B3B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #831f5c; /* rgb */ color: rgb(131, 31, 92); /* oklch */ color: oklch(42.3% 0.148 347.9);
Tailwind
colors: {
custom: {
50: '#ab658a',
500: '#831f5c',
950: '#000000',
},
}SCSS
$custom: #831f5c; $custom-light: #ab658a; $custom-dark: #000000;
JSON
{
"hex": "#831f5c",
"rgb": {
"r": 131,
"g": 31,
"b": 92
},
"hsl": {
"h": 323.4,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.42327,
"c": 0.14783,
"h": 347.9
},
"luminance": 0.06578
}Semantic roles & 50–950 ramp
primary
#831F5C
secondary
#48B673
accent
#E58243
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060B
muted
#807A7C