#831B4E#831B4E
#831B4E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.145 H 356.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #831B4E |
|---|---|
| RGB | rgb(131, 27, 78) |
| HSL | hsl(331, 66%, 31%) |
| HSV | hsv(331, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 40.5%, 48.6%) |
| CIE-LAB | lab(29.81, 47.13, -4.11) |
| CIE-LCH | lch(29.81, 47.31, 355.02°) |
| OKLab | oklab(41.41% 0.1449 -0.0102) |
| OKLCH | oklch(41.41% 0.145 356) |
| XYZ | xyz(11.1279, 6.1606, 7.8094) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.15
Reddish Purple
#910951
ΔE00 2.76
Mulberry
#920A4E
ΔE00 3.13
Dark Magenta
#960056
ΔE00 3.75
Wine (survey)
#80013F
ΔE00 3.79
Dark Fuchsia
#9D0759
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B4E #1B8350
analogous
#831B82 #831B4E #831C1B
triadic
#831B4E #4E831B #1B4E83
tetradic
#831B4E #82831B #1B8350 #1C1B83
square
#831B4E #82831B #1B8350 #1C1B83
split-complementary
#831B4E #1B831C #1B8283
monochromatic
#1E0612 #501130 #831B4E #B6256C #D8418B
Accessibility & contrast
On white
9.41
#831B4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#831B4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B4E
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B4E | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313A4F
Deuteranopia (green-blind)
#4E4D4C
Tritanopia (blue-blind)
#8E0C32
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #831b4e; /* rgb */ color: rgb(131, 27, 78); /* oklch */ color: oklch(41.4% 0.145 356.0);
Tailwind
colors: {
custom: {
50: '#ac637f',
500: '#831b4e',
950: '#000000',
},
}SCSS
$custom: #831b4e; $custom-light: #ac637f; $custom-dark: #000000;
JSON
{
"hex": "#831b4e",
"rgb": {
"r": 131,
"g": 27,
"b": 78
},
"hsl": {
"h": 330.577,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.41409,
"c": 0.14521,
"h": 356
},
"luminance": 0.06159
}Semantic roles & 50–950 ramp
primary
#831B4E
secondary
#43B67E
accent
#E9963F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C