#821838#821838
#821838 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.141 H 9.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #821838 |
|---|---|
| RGB | rgb(130, 24, 56) |
| HSL | hsl(342, 69%, 30%) |
| HSV | hsv(342, 82%, 51%) |
| CMYK | cmyk(0%, 81.5%, 56.9%, 49%) |
| CIE-LAB | lab(28.61, 45.70, 8.81) |
| CIE-LCH | lch(28.61, 46.55, 10.91°) |
| OKLab | oklab(40.27% 0.1389 0.0223) |
| OKLCH | oklch(40.27% 0.141 9.1) |
| XYZ | xyz(10.2474, 5.6861, 4.2986) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.65
Bordeaux
#7B002C
ΔE00 3.17
Wine (survey)
#80013F
ΔE00 4.70
Purple Red
#990147
ΔE00 5.26
Cranberry
#9E003A
ΔE00 5.45
Wine Red
#7B0323
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821838 #188262
analogous
#82186D #821838 #822D18
triadic
#821838 #388218 #183882
tetradic
#821838 #6D8218 #188262 #2D1882
square
#821838 #6D8218 #188262 #2D1882
split-complementary
#821838 #18822D #186D82
monochromatic
#1B050B #4E0E22 #821838 #B6224E #DB3A6A
Accessibility & contrast
On white
9.83
#821838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#821838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821838
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821838 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353639
Deuteranopia (green-blind)
#504B35
Tritanopia (blue-blind)
#8E0026
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #821838; /* rgb */ color: rgb(130, 24, 56); /* oklch */ color: oklch(40.3% 0.141 9.1);
Tailwind
colors: {
custom: {
50: '#ac616e',
500: '#821838',
950: '#000000',
},
}SCSS
$custom: #821838; $custom-light: #ac616e; $custom-dark: #000000;
JSON
{
"hex": "#821838",
"rgb": {
"r": 130,
"g": 24,
"b": 56
},
"hsl": {
"h": 341.887,
"s": 68.831,
"l": 30.196
},
"oklch": {
"l": 0.40266,
"c": 0.14069,
"h": 9.1
},
"luminance": 0.05685
}Semantic roles & 50–950 ramp
primary
#821838
secondary
#40B692
accent
#ECB73C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A