#821E40#821E40
#821E40 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.136 H 5.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #821E40 |
|---|---|
| RGB | rgb(130, 30, 64) |
| HSL | hsl(340, 63%, 31%) |
| HSV | hsv(340, 77%, 51%) |
| CMYK | cmyk(0%, 76.9%, 50.8%, 49%) |
| CIE-LAB | lab(29.53, 44.40, 4.75) |
| CIE-LCH | lch(29.53, 44.66, 6.11°) |
| OKLab | oklab(41.02% 0.1357 0.0125) |
| OKLCH | oklch(41.02% 0.136 5.3) |
| XYZ | xyz(10.5965, 6.0460, 5.4585) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.56
Red Wine
#8C0034
ΔE00 4.46
Purple Red
#990147
ΔE00 4.54
Red Purple
#820747
ΔE00 4.57
Berry
#990F4B
ΔE00 4.61
Mulberry
#920A4E
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821E40 #1E8260
analogous
#821E72 #821E40 #822E1E
triadic
#821E40 #40821E #1E4082
tetradic
#821E40 #72821E #1E8260 #2E1E82
square
#821E40 #72821E #1E8260 #2E1E82
split-complementary
#821E40 #1E822E #1E7282
monochromatic
#1F070F #501328 #821E40 #B42958 #D44676
Accessibility & contrast
On white
9.51
#821E40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#821E40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821E40
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821E40 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#514D3E
Tritanopia (blue-blind)
#8E072C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #821e40; /* rgb */ color: rgb(130, 30, 64); /* oklch */ color: oklch(41.0% 0.136 5.3);
Tailwind
colors: {
custom: {
50: '#ab6374',
500: '#821e40',
950: '#000000',
},
}SCSS
$custom: #821e40; $custom-light: #ab6374; $custom-dark: #000000;
JSON
{
"hex": "#821e40",
"rgb": {
"r": 130,
"g": 30,
"b": 64
},
"hsl": {
"h": 339.6,
"s": 62.5,
"l": 31.373
},
"oklch": {
"l": 0.41016,
"c": 0.13629,
"h": 5.3
},
"luminance": 0.06045
}Semantic roles & 50–950 ramp
primary
#821E40
secondary
#47B590
accent
#E6AE42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B