#831B40#831B40
#831B40 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.140 H 4.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #831B40 |
|---|---|
| RGB | rgb(131, 27, 64) |
| HSL | hsl(339, 66%, 31%) |
| HSV | hsv(339, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 51.1%, 48.6%) |
| CIE-LAB | lab(29.36, 45.73, 4.54) |
| CIE-LCH | lch(29.36, 45.95, 5.68°) |
| OKLab | oklab(40.93% 0.1399 0.012) |
| OKLCH | oklch(40.93% 0.14 4.9) |
| XYZ | xyz(10.6784, 5.9808, 5.4416) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.16
Red Purple
#820747
ΔE00 4.22
Purple Red
#990147
ΔE00 4.22
Red Wine
#8C0034
ΔE00 4.35
Berry
#990F4B
ΔE00 4.35
Mulberry
#920A4E
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B40 #1B835E
analogous
#831B74 #831B40 #832A1B
triadic
#831B40 #40831B #1B4083
tetradic
#831B40 #74831B #1B835E #2A1B83
square
#831B40 #74831B #1B835E #2A1B83
split-complementary
#831B40 #1B832A #1B7483
monochromatic
#1E060E #501127 #831B40 #B62559 #D84176
Accessibility & contrast
On white
9.56
#831B40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#831B40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B40
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B40 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#504D3E
Tritanopia (blue-blind)
#8F002B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #831b40; /* rgb */ color: rgb(131, 27, 64); /* oklch */ color: oklch(40.9% 0.140 4.9);
Tailwind
colors: {
custom: {
50: '#ac6274',
500: '#831b40',
950: '#000000',
},
}SCSS
$custom: #831b40; $custom-light: #ac6274; $custom-dark: #000000;
JSON
{
"hex": "#831b40",
"rgb": {
"r": 131,
"g": 27,
"b": 64
},
"hsl": {
"h": 338.654,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.40932,
"c": 0.1404,
"h": 4.9
},
"luminance": 0.05979
}Semantic roles & 50–950 ramp
primary
#831B40
secondary
#43B68D
accent
#E9AC3F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B