#831838#831838
#831838 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.142 H 9.4°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #831838 |
|---|---|
| RGB | rgb(131, 24, 56) |
| HSL | hsl(342, 69%, 30%) |
| HSV | hsv(342, 82%, 51%) |
| CMYK | cmyk(0%, 81.7%, 57.3%, 48.6%) |
| CIE-LAB | lab(28.81, 46.00, 9.13) |
| CIE-LCH | lch(28.81, 46.90, 11.22°) |
| OKLab | oklab(40.46% 0.1397 0.0231) |
| OKLCH | oklch(40.46% 0.142 9.4) |
| XYZ | xyz(10.4015, 5.7656, 4.3058) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.47
Bordeaux
#7B002C
ΔE00 3.23
Wine (survey)
#80013F
ΔE00 4.86
Purple Red
#990147
ΔE00 5.19
Cranberry
#9E003A
ΔE00 5.22
Wine Red
#7B0323
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831838 #188363
analogous
#83186D #831838 #832D18
triadic
#831838 #388318 #183883
tetradic
#831838 #6D8318 #188363 #2D1883
square
#831838 #6D8318 #188363 #2D1883
split-complementary
#831838 #18832D #186D83
monochromatic
#1C050C #4F0F22 #831838 #B7214E #DB3A6A
Accessibility & contrast
On white
9.75
#831838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#831838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831838
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831838 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353639
Deuteranopia (green-blind)
#514C35
Tritanopia (blue-blind)
#900026
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #831838; /* rgb */ color: rgb(131, 24, 56); /* oklch */ color: oklch(40.5% 0.142 9.4);
Tailwind
colors: {
custom: {
50: '#ad616e',
500: '#831838',
950: '#000000',
},
}SCSS
$custom: #831838; $custom-light: #ad616e; $custom-dark: #000000;
JSON
{
"hex": "#831838",
"rgb": {
"r": 131,
"g": 24,
"b": 56
},
"hsl": {
"h": 342.056,
"s": 69.032,
"l": 30.392
},
"oklch": {
"l": 0.40455,
"c": 0.14163,
"h": 9.4
},
"luminance": 0.05764
}Semantic roles & 50–950 ramp
primary
#831838
secondary
#40B793
accent
#ECB73C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A