#A22851#A22851
#A22851 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.160 H 5.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A22851 |
|---|---|
| RGB | rgb(162, 40, 81) |
| HSL | hsl(340, 60%, 40%) |
| HSV | hsv(340, 75%, 64%) |
| CMYK | cmyk(0%, 75.3%, 50%, 36.5%) |
| CIE-LAB | lab(37.47, 52.03, 5.82) |
| CIE-LCH | lch(37.47, 52.35, 6.38°) |
| OKLab | oklab(48.17% 0.159 0.0153) |
| OKLCH | oklch(48.17% 0.16 5.5) |
| XYZ | xyz(17.1458, 9.7954, 8.7708) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.40
Raspberry (survey)
#B00149
ΔE00 3.71
Berry
#990F4B
ΔE00 3.93
Violet Red
#A50055
ΔE00 4.29
Purple Red
#990147
ΔE00 4.52
Light Burgundy
#A8415B
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22851 #28A279
analogous
#A2288E #A22851 #A23C28
triadic
#A22851 #51A228 #2851A2
tetradic
#A22851 #8EA228 #28A279 #3C28A2
square
#A22851 #8EA228 #28A279 #3C28A2
split-complementary
#A22851 #28A23C #288EA2
monochromatic
#401020 #711C38 #A22851 #CE396B #DA6A90
Accessibility & contrast
On white
7.10
#A22851 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#A22851 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A22851
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22851 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22851 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#66614E
Tritanopia (blue-blind)
#B10C39
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a22851; /* rgb */ color: rgb(162, 40, 81); /* oklch */ color: oklch(48.2% 0.160 5.5);
Tailwind
colors: {
custom: {
50: '#c36d81',
500: '#a22851',
950: '#000000',
},
}SCSS
$custom: #a22851; $custom-light: #c36d81; $custom-dark: #000000;
JSON
{
"hex": "#a22851",
"rgb": {
"r": 162,
"g": 40,
"b": 81
},
"hsl": {
"h": 339.836,
"s": 60.396,
"l": 39.608
},
"oklch": {
"l": 0.48167,
"c": 0.15971,
"h": 5.5
},
"luminance": 0.09793
}Semantic roles & 50–950 ramp
primary
#A22851
secondary
#65C1A2
accent
#E4AE44
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C