#831842#831842
#831842 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.144 H 3.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #831842 |
|---|---|
| RGB | rgb(131, 24, 66) |
| HSL | hsl(336, 69%, 30%) |
| HSV | hsv(336, 82%, 51%) |
| CMYK | cmyk(0%, 81.7%, 49.6%, 48.6%) |
| CIE-LAB | lab(29.09, 46.85, 2.82) |
| CIE-LCH | lch(29.09, 46.94, 3.44°) |
| OKLab | oklab(40.75% 0.1437 0.0077) |
| OKLCH | oklch(40.75% 0.144 3.1) |
| XYZ | xyz(10.6710, 5.8734, 5.7250) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.36
Red Purple
#820747
ΔE00 3.18
Mulberry
#920A4E
ΔE00 3.73
Purple Red
#990147
ΔE00 4.12
Berry
#990F4B
ΔE00 4.17
Merlot
#730039
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831842 #188359
analogous
#831877 #831842 #832418
triadic
#831842 #428318 #184283
tetradic
#831842 #778318 #188359 #241883
square
#831842 #778318 #188359 #241883
split-complementary
#831842 #188324 #187783
monochromatic
#1C050E #4F0F28 #831842 #B7215C #DB3A79
Accessibility & contrast
On white
9.66
#831842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#831842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831842
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831842 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333743
Deuteranopia (green-blind)
#4F4C40
Tritanopia (blue-blind)
#8F002B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #831842; /* rgb */ color: rgb(131, 24, 66); /* oklch */ color: oklch(40.8% 0.144 3.1);
Tailwind
colors: {
custom: {
50: '#ac6176',
500: '#831842',
950: '#000000',
},
}SCSS
$custom: #831842; $custom-light: #ac6176; $custom-dark: #000000;
JSON
{
"hex": "#831842",
"rgb": {
"r": 131,
"g": 24,
"b": 66
},
"hsl": {
"h": 336.449,
"s": 69.032,
"l": 30.392
},
"oklch": {
"l": 0.4075,
"c": 0.14388,
"h": 3.1
},
"luminance": 0.05872
}Semantic roles & 50–950 ramp
primary
#831842
secondary
#40B788
accent
#ECA73C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B