#831B51#831B51
#831B51 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.147 H 354.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #831B51 |
|---|---|
| RGB | rgb(131, 27, 81) |
| HSL | hsl(329, 66%, 31%) |
| HSV | hsv(329, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 38.2%, 48.6%) |
| CIE-LAB | lab(29.92, 47.46, -5.93) |
| CIE-LCH | lch(29.92, 47.83, 352.88°) |
| OKLab | oklab(41.52% 0.1458 -0.0151) |
| OKLCH | oklch(41.52% 0.147 354.1) |
| XYZ | xyz(11.2379, 6.2046, 8.3888) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.64
Reddish Purple
#910951
ΔE00 2.93
Mulberry
#920A4E
ΔE00 3.55
Dark Magenta
#960056
ΔE00 3.64
Wine (survey)
#80013F
ΔE00 4.49
Velvet
#750851
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B51 #1B834D
analogous
#811B83 #831B51 #831B1D
triadic
#831B51 #51831B #1B5183
tetradic
#831B51 #83811B #1B834D #1B1D83
square
#831B51 #83811B #1B834D #1B1D83
split-complementary
#831B51 #1D831B #1B8381
monochromatic
#1E0612 #501132 #831B51 #B62570 #D8418F
Accessibility & contrast
On white
9.37
#831B51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#831B51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B51
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B51 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303A52
Deuteranopia (green-blind)
#4D4D4F
Tritanopia (blue-blind)
#8E0E33
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #831b51; /* rgb */ color: rgb(131, 27, 81); /* oklch */ color: oklch(41.5% 0.147 354.1);
Tailwind
colors: {
custom: {
50: '#ab6381',
500: '#831b51',
950: '#000000',
},
}SCSS
$custom: #831b51; $custom-light: #ab6381; $custom-dark: #000000;
JSON
{
"hex": "#831b51",
"rgb": {
"r": 131,
"g": 27,
"b": 81
},
"hsl": {
"h": 328.846,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.41524,
"c": 0.14656,
"h": 354.1
},
"luminance": 0.06203
}Semantic roles & 50–950 ramp
primary
#831B51
secondary
#43B67B
accent
#E9913F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C