#AF224A#AF224A
#AF224A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.176 H 10.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AF224A |
|---|---|
| RGB | rgb(175, 34, 74) |
| HSL | hsl(343, 67%, 41%) |
| HSV | hsv(343, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 57.7%, 31.4%) |
| CIE-LAB | lab(39.17, 57.06, 13.03) |
| CIE-LCH | lch(39.17, 58.53, 12.86°) |
| OKLab | oklab(49.81% 0.1729 0.0326) |
| OKLCH | oklch(49.81% 0.176 10.7) |
| XYZ | xyz(19.4892, 10.7553, 7.5270) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.57
Purplish Red
#B0054B
ΔE00 2.68
Rouge
#AB1239
ΔE00 4.19
Rose Red
#BE013C
ΔE00 4.94
Cranberry
#9E003A
ΔE00 5.13
Ruby
#CA0147
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF224A #22AF87
analogous
#AF2290 #AF224A #AF4122
triadic
#AF224A #4AAF22 #224AAF
tetradic
#AF224A #90AF22 #22AF87 #4122AF
square
#AF224A #90AF22 #22AF87 #4122AF
split-complementary
#AF224A #22AF41 #2290AF
monochromatic
#490E1F #7C1834 #AF224A #D83664 #E2698C
Accessibility & contrast
On white
6.67
#AF224A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AF224A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF224A
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF224A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF224A | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4A4B
Deuteranopia (green-blind)
#6E6646
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af224a; /* rgb */ color: rgb(175, 34, 74); /* oklch */ color: oklch(49.8% 0.176 10.7);
Tailwind
colors: {
custom: {
50: '#ce6c7c',
500: '#af224a',
950: '#000000',
},
}SCSS
$custom: #af224a; $custom-light: #ce6c7c; $custom-dark: #000000;
JSON
{
"hex": "#af224a",
"rgb": {
"r": 175,
"g": 34,
"b": 74
},
"hsl": {
"h": 342.979,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49814,
"c": 0.17592,
"h": 10.7
},
"luminance": 0.10752
}Semantic roles & 50–950 ramp
primary
#AF224A
secondary
#65C8AC
accent
#EAB93D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B