#831042#831042
#831042 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.151 H 1.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #831042 |
|---|---|
| RGB | rgb(131, 16, 66) |
| HSL | hsl(334, 78%, 29%) |
| HSV | hsv(334, 88%, 51%) |
| CMYK | cmyk(0%, 87.8%, 49.6%, 48.6%) |
| CIE-LAB | lab(28.36, 48.95, 1.75) |
| CIE-LCH | lch(28.36, 48.98, 2.05°) |
| OKLab | oklab(40.21% 0.1505 0.005) |
| OKLCH | oklch(40.21% 0.151 1.9) |
| XYZ | xyz(10.5297, 5.5907, 5.6779) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.42
Red Purple
#820747
ΔE00 2.29
Mulberry
#920A4E
ΔE00 3.39
Merlot
#730039
ΔE00 3.71
Reddish Purple
#910951
ΔE00 3.90
Purple Red
#990147
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831042 #108351
analogous
#83107C #831042 #831810
triadic
#831042 #428310 #104283
tetradic
#831042 #7C8310 #108351 #181083
square
#831042 #7C8310 #108351 #181083
split-complementary
#831042 #108318 #107C83
monochromatic
#1B030E #4C0927 #831042 #BA175D #E5297A
Accessibility & contrast
On white
9.92
#831042 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#831042 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831042
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831042 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3543
Deuteranopia (green-blind)
#4E4B3F
Tritanopia (blue-blind)
#8F0028
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #831042; /* rgb */ color: rgb(131, 16, 66); /* oklch */ color: oklch(40.2% 0.151 1.9);
Tailwind
colors: {
custom: {
50: '#ad5f76',
500: '#831042',
950: '#000000',
},
}SCSS
$custom: #831042; $custom-light: #ad5f76; $custom-dark: #000000;
JSON
{
"hex": "#831042",
"rgb": {
"r": 131,
"g": 16,
"b": 66
},
"hsl": {
"h": 333.913,
"s": 78.231,
"l": 28.824
},
"oklch": {
"l": 0.40211,
"c": 0.15054,
"h": 1.9
},
"luminance": 0.05589
}Semantic roles & 50–950 ramp
primary
#831042
secondary
#36B980
accent
#F5A133
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B