#821842#821842
#821842 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.143 H 2.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #821842 |
|---|---|
| RGB | rgb(130, 24, 66) |
| HSL | hsl(336, 69%, 30%) |
| HSV | hsv(336, 82%, 51%) |
| CMYK | cmyk(0%, 81.5%, 49.2%, 49%) |
| CIE-LAB | lab(28.89, 46.56, 2.50) |
| CIE-LCH | lch(28.89, 46.63, 3.07°) |
| OKLab | oklab(40.56% 0.1428 0.0069) |
| OKLCH | oklch(40.56% 0.143 2.8) |
| XYZ | xyz(10.5168, 5.7939, 5.7177) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.24
Red Purple
#820747
ΔE00 3.03
Mulberry
#920A4E
ΔE00 3.79
Merlot
#730039
ΔE00 4.16
Purple Red
#990147
ΔE00 4.32
Berry
#990F4B
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821842 #188258
analogous
#821877 #821842 #822318
triadic
#821842 #428218 #184282
tetradic
#821842 #778218 #188258 #231882
square
#821842 #778218 #188258 #231882
split-complementary
#821842 #188223 #187782
monochromatic
#1B050E #4E0E28 #821842 #B6225C #DB3A7A
Accessibility & contrast
On white
9.73
#821842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#821842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821842
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821842 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323743
Deuteranopia (green-blind)
#4F4B40
Tritanopia (blue-blind)
#8E002B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #821842; /* rgb */ color: rgb(130, 24, 66); /* oklch */ color: oklch(40.6% 0.143 2.8);
Tailwind
colors: {
custom: {
50: '#ac6176',
500: '#821842',
950: '#000000',
},
}SCSS
$custom: #821842; $custom-light: #ac6176; $custom-dark: #000000;
JSON
{
"hex": "#821842",
"rgb": {
"r": 130,
"g": 24,
"b": 66
},
"hsl": {
"h": 336.226,
"s": 68.831,
"l": 30.196
},
"oklch": {
"l": 0.40563,
"c": 0.143,
"h": 2.8
},
"luminance": 0.05792
}Semantic roles & 50–950 ramp
primary
#821842
secondary
#40B687
accent
#ECA63C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B