#821C5F#821C5F
#821C5F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.152 H 345.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #821C5F |
|---|---|
| RGB | rgb(130, 28, 95) |
| HSL | hsl(321, 65%, 31%) |
| HSV | hsv(321, 78%, 51%) |
| CMYK | cmyk(0%, 78.5%, 26.9%, 49%) |
| CIE-LAB | lab(30.41, 48.59, -14.37) |
| CIE-LCH | lch(30.41, 50.67, 343.52°) |
| OKLab | oklab(42.03% 0.1474 -0.0382) |
| OKLCH | oklch(42.03% 0.152 345.5) |
| XYZ | xyz(11.6872, 6.4038, 11.4448) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.82
Rich Purple
#720058
ΔE00 4.83
Red Violet
#9E0168
ΔE00 5.15
Dark Magenta
#960056
ΔE00 5.50
Reddish Purple
#910951
ΔE00 5.76
Red Purple
#820747
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821C5F #1C823F
analogous
#721C82 #821C5F #821C2C
triadic
#821C5F #5F821C #1C5F82
tetradic
#821C5F #82721C #1C823F #1C2C82
square
#821C5F #82721C #1C823F #1C2C82
split-complementary
#821C5F #2C821C #1C8272
monochromatic
#1D0615 #50113A #821C5F #B42784 #D642A3
Accessibility & contrast
On white
9.21
#821C5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#821C5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821C5F
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821C5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821C5F | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3D61
Deuteranopia (green-blind)
#494E5D
Tritanopia (blue-blind)
#8B1A3B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #821c5f; /* rgb */ color: rgb(130, 28, 95); /* oklch */ color: oklch(42.0% 0.152 345.5);
Tailwind
colors: {
custom: {
50: '#aa648c',
500: '#821c5f',
950: '#000000',
},
}SCSS
$custom: #821c5f; $custom-light: #aa648c; $custom-dark: #000000;
JSON
{
"hex": "#821c5f",
"rgb": {
"r": 130,
"g": 28,
"b": 95
},
"hsl": {
"h": 320.588,
"s": 64.557,
"l": 30.98
},
"oklch": {
"l": 0.42028,
"c": 0.1523,
"h": 345.5
},
"luminance": 0.06403
}Semantic roles & 50–950 ramp
primary
#821C5F
secondary
#44B56B
accent
#E87A40
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D