#821B56#821B56
#821B56 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.148 H 350.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #821B56 |
|---|---|
| RGB | rgb(130, 27, 86) |
| HSL | hsl(326, 66%, 31%) |
| HSV | hsv(326, 79%, 51%) |
| CMYK | cmyk(0%, 79.2%, 33.8%, 49%) |
| CIE-LAB | lab(29.92, 47.77, -9.24) |
| CIE-LCH | lch(29.92, 48.66, 349.05°) |
| OKLab | oklab(41.55% 0.1463 -0.024) |
| OKLCH | oklch(41.55% 0.148 350.7) |
| XYZ | xyz(11.2782, 6.2029, 9.4057) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.82
Red Purple
#820747
ΔE00 3.86
Reddish Purple
#910951
ΔE00 3.90
Dark Magenta
#960056
ΔE00 4.13
Mulberry
#920A4E
ΔE00 4.75
Dark Fuchsia
#9D0759
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821B56 #1B8247
analogous
#7A1B82 #821B56 #821B22
triadic
#821B56 #56821B #1B5682
tetradic
#821B56 #827A1B #1B8247 #1B2282
square
#821B56 #827A1B #1B8247 #1B2282
split-complementary
#821B56 #22821B #1B827A
monochromatic
#1D0613 #4F1034 #821B56 #B52678 #D74097
Accessibility & contrast
On white
9.37
#821B56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#821B56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821B56
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821B56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821B56 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3B58
Deuteranopia (green-blind)
#4B4D54
Tritanopia (blue-blind)
#8C1336
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #821b56; /* rgb */ color: rgb(130, 27, 86); /* oklch */ color: oklch(41.5% 0.148 350.7);
Tailwind
colors: {
custom: {
50: '#aa6385',
500: '#821b56',
950: '#000000',
},
}SCSS
$custom: #821b56; $custom-light: #aa6385; $custom-dark: #000000;
JSON
{
"hex": "#821b56",
"rgb": {
"r": 130,
"g": 27,
"b": 86
},
"hsl": {
"h": 325.631,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.41548,
"c": 0.14826,
"h": 350.7
},
"luminance": 0.06202
}Semantic roles & 50–950 ramp
primary
#821B56
secondary
#43B674
accent
#E9883F
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11060B
muted
#807A7C