#A22A5F#A22A5F
#A22A5F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.162 H 358.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A22A5F |
|---|---|
| RGB | rgb(162, 42, 95) |
| HSL | hsl(334, 59%, 40%) |
| HSV | hsv(334, 74%, 64%) |
| CMYK | cmyk(0%, 74.1%, 41.4%, 36.5%) |
| CIE-LAB | lab(38.14, 52.68, -2.14) |
| CIE-LCH | lch(38.14, 52.73, 357.67°) |
| OKLab | oklab(48.79% 0.1617 -0.005) |
| OKLCH | oklch(48.79% 0.162 358.2) |
| XYZ | xyz(17.7951, 10.1658, 11.8494) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.59
Dark Fuchsia
#9D0759
ΔE00 3.95
Deep Magenta
#A0025C
ΔE00 3.98
Berry
#990F4B
ΔE00 4.96
Dark Magenta
#960056
ΔE00 5.36
Mulberry
#920A4E
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22A5F #2AA26D
analogous
#A22A9B #A22A5F #A2312A
triadic
#A22A5F #5FA22A #2A5FA2
tetradic
#A22A5F #9BA22A #2AA26D #312AA2
square
#A22A5F #9BA22A #2AA26D #312AA2
split-complementary
#A22A5F #2AA231 #2A9BA2
monochromatic
#411126 #711D42 #A22A5F #CD3D7C #D96D9D
Accessibility & contrast
On white
6.92
#A22A5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#A22A5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22A5F
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22A5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22A5F | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434B60
Deuteranopia (green-blind)
#64625C
Tritanopia (blue-blind)
#AF1A41
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a22a5f; /* rgb */ color: rgb(162, 42, 95); /* oklch */ color: oklch(48.8% 0.162 358.2);
Tailwind
colors: {
custom: {
50: '#c26e8c',
500: '#a22a5f',
950: '#000000',
},
}SCSS
$custom: #a22a5f; $custom-light: #c26e8c; $custom-dark: #000000;
JSON
{
"hex": "#a22a5f",
"rgb": {
"r": 162,
"g": 42,
"b": 95
},
"hsl": {
"h": 333.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.48794,
"c": 0.16178,
"h": 358.2
},
"luminance": 0.10164
}Semantic roles & 50–950 ramp
primary
#A22A5F
secondary
#68C099
accent
#E29D46
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D