#831B56#831B56
#831B56 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.149 H 351.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #831B56 |
|---|---|
| RGB | rgb(131, 27, 86) |
| HSL | hsl(326, 66%, 31%) |
| HSV | hsv(326, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 34.4%, 48.6%) |
| CIE-LAB | lab(30.11, 48.05, -8.93) |
| CIE-LCH | lch(30.11, 48.87, 349.47°) |
| OKLab | oklab(41.73% 0.1472 -0.0232) |
| OKLCH | oklch(41.73% 0.149 351.1) |
| XYZ | xyz(11.4324, 6.2824, 9.4129) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 3.68
Red Purple
#820747
ΔE00 3.77
Dark Magenta
#960056
ΔE00 3.91
Velvet
#750851
ΔE00 4.03
Mulberry
#920A4E
ΔE00 4.53
Dark Fuchsia
#9D0759
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B56 #1B8348
analogous
#7C1B83 #831B56 #831B22
triadic
#831B56 #56831B #1B5683
tetradic
#831B56 #837C1B #1B8348 #1B2283
square
#831B56 #837C1B #1B8348 #1B2283
split-complementary
#831B56 #22831B #1B837C
monochromatic
#1E0613 #501135 #831B56 #B62577 #D84196
Accessibility & contrast
On white
9.31
#831B56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#831B56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B56
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B56 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3B58
Deuteranopia (green-blind)
#4C4E54
Tritanopia (blue-blind)
#8D1236
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #831b56; /* rgb */ color: rgb(131, 27, 86); /* oklch */ color: oklch(41.7% 0.149 351.1);
Tailwind
colors: {
custom: {
50: '#ab6385',
500: '#831b56',
950: '#000000',
},
}SCSS
$custom: #831b56; $custom-light: #ab6385; $custom-dark: #000000;
JSON
{
"hex": "#831b56",
"rgb": {
"r": 131,
"g": 27,
"b": 86
},
"hsl": {
"h": 325.962,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.41726,
"c": 0.14902,
"h": 351.1
},
"luminance": 0.06281
}Semantic roles & 50–950 ramp
primary
#831B56
secondary
#43B675
accent
#E9883F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C