#A22C5D#A22C5D
#A22C5D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.9% C 0.159 H 359.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A22C5D |
|---|---|
| RGB | rgb(162, 44, 93) |
| HSL | hsl(335, 57%, 40%) |
| HSV | hsv(335, 73%, 64%) |
| CMYK | cmyk(0%, 72.8%, 42.6%, 36.5%) |
| CIE-LAB | lab(38.33, 51.76, -0.59) |
| CIE-LCH | lch(38.33, 51.76, 359.35°) |
| OKLab | oklab(48.92% 0.1587 -0.0009) |
| OKLCH | oklch(48.92% 0.159 359.7) |
| XYZ | xyz(17.7781, 10.2753, 11.4009) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.74
Dark Fuchsia
#9D0759
ΔE00 4.46
Deep Magenta
#A0025C
ΔE00 4.56
Berry
#990F4B
ΔE00 4.81
Mulberry
#920A4E
ΔE00 5.67
Purple Red
#990147
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22C5D #2CA271
analogous
#A22C98 #A22C5D #A2362C
triadic
#A22C5D #5DA22C #2C5DA2
tetradic
#A22C5D #98A22C #2CA271 #362CA2
square
#A22C5D #98A22C #2CA271 #362CA2
split-complementary
#A22C5D #2CA236 #2C98A2
monochromatic
#421226 #721F41 #A22C5D #CB407A #D8709B
Accessibility & contrast
On white
6.87
#A22C5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#A22C5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22C5D
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22C5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22C5D | 1.00 | 6.87 | 3.05 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454C5E
Deuteranopia (green-blind)
#65625A
Tritanopia (blue-blind)
#B01B41
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a22c5d; /* rgb */ color: rgb(162, 44, 93); /* oklch */ color: oklch(48.9% 0.159 359.7);
Tailwind
colors: {
custom: {
50: '#c26f8a',
500: '#a22c5d',
950: '#000000',
},
}SCSS
$custom: #a22c5d; $custom-light: #c26f8a; $custom-dark: #000000;
JSON
{
"hex": "#a22c5d",
"rgb": {
"r": 162,
"g": 44,
"b": 93
},
"hsl": {
"h": 335.085,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.48916,
"c": 0.15874,
"h": 359.7
},
"luminance": 0.10273
}Semantic roles & 50–950 ramp
primary
#A22C5D
secondary
#6ABF9C
accent
#E1A147
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C