#831F52#831F52
#831F52 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.143 H 354.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #831F52 |
|---|---|
| RGB | rgb(131, 31, 82) |
| HSL | hsl(329, 62%, 32%) |
| HSV | hsv(329, 76%, 51%) |
| CMYK | cmyk(0%, 76.3%, 37.4%, 48.6%) |
| CIE-LAB | lab(30.44, 46.23, -5.81) |
| CIE-LCH | lch(30.44, 46.59, 352.83°) |
| OKLab | oklab(41.91% 0.1418 -0.0148) |
| OKLCH | oklch(41.91% 0.143 354) |
| XYZ | xyz(11.3738, 6.4158, 8.6204) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.07
Reddish Purple
#910951
ΔE00 3.13
Mulberry
#920A4E
ΔE00 3.70
Dark Magenta
#960056
ΔE00 3.83
Wine (survey)
#80013F
ΔE00 4.81
Dark Fuchsia
#9D0759
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831F52 #1F8350
analogous
#821F83 #831F52 #831F20
triadic
#831F52 #52831F #1F5283
tetradic
#831F52 #83821F #1F8350 #1F2083
square
#831F52 #83821F #1F8350 #1F2083
split-complementary
#831F52 #20831F #1F8382
monochromatic
#200814 #521333 #831F52 #B42B71 #D44990
Accessibility & contrast
On white
9.20
#831F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#831F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831F52
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831F52 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4E4E50
Tritanopia (blue-blind)
#8E1535
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #831f52; /* rgb */ color: rgb(131, 31, 82); /* oklch */ color: oklch(41.9% 0.143 354.0);
Tailwind
colors: {
custom: {
50: '#ab6582',
500: '#831f52',
950: '#000000',
},
}SCSS
$custom: #831f52; $custom-light: #ab6582; $custom-dark: #000000;
JSON
{
"hex": "#831f52",
"rgb": {
"r": 131,
"g": 31,
"b": 82
},
"hsl": {
"h": 329.4,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.41913,
"c": 0.14257,
"h": 354
},
"luminance": 0.06414
}Semantic roles & 50–950 ramp
primary
#831F52
secondary
#48B67E
accent
#E59243
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C