#831F50#831F50
#831F50 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.142 H 355.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #831F50 |
|---|---|
| RGB | rgb(131, 31, 80) |
| HSL | hsl(331, 62%, 32%) |
| HSV | hsv(331, 76%, 51%) |
| CMYK | cmyk(0%, 76.3%, 38.9%, 48.6%) |
| CIE-LAB | lab(30.37, 46.00, -4.61) |
| CIE-LCH | lch(30.37, 46.23, 354.28°) |
| OKLab | oklab(41.84% 0.1412 -0.0116) |
| OKLCH | oklch(41.84% 0.142 355.3) |
| XYZ | xyz(11.2988, 6.3858, 8.2255) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.77
Reddish Purple
#910951
ΔE00 3.00
Mulberry
#920A4E
ΔE00 3.41
Dark Magenta
#960056
ΔE00 3.88
Wine (survey)
#80013F
ΔE00 4.37
Dark Fuchsia
#9D0759
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831F50 #1F8352
analogous
#831F82 #831F50 #83201F
triadic
#831F50 #50831F #1F5083
tetradic
#831F50 #82831F #1F8352 #201F83
square
#831F50 #82831F #1F8352 #201F83
split-complementary
#831F50 #1F8320 #1F8283
monochromatic
#200814 #521332 #831F50 #B42B6E #D4498D
Accessibility & contrast
On white
9.22
#831F50 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#831F50 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831F50
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831F50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831F50 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333C51
Deuteranopia (green-blind)
#4E4E4E
Tritanopia (blue-blind)
#8E1434
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #831f50; /* rgb */ color: rgb(131, 31, 80); /* oklch */ color: oklch(41.8% 0.142 355.3);
Tailwind
colors: {
custom: {
50: '#ab6581',
500: '#831f50',
950: '#000000',
},
}SCSS
$custom: #831f50; $custom-light: #ab6581; $custom-dark: #000000;
JSON
{
"hex": "#831f50",
"rgb": {
"r": 131,
"g": 31,
"b": 80
},
"hsl": {
"h": 330.6,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.41836,
"c": 0.14165,
"h": 355.3
},
"luminance": 0.06384
}Semantic roles & 50–950 ramp
primary
#831F50
secondary
#48B680
accent
#E59643
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C