#AF224E#AF224E
#AF224E is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.176 H 8.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AF224E |
|---|---|
| RGB | rgb(175, 34, 78) |
| HSL | hsl(341, 67%, 41%) |
| HSV | hsv(341, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 55.4%, 31.4%) |
| CIE-LAB | lab(39.26, 57.35, 10.61) |
| CIE-LCH | lch(39.26, 58.32, 10.48°) |
| OKLab | oklab(49.92% 0.1744 0.027) |
| OKLCH | oklch(49.92% 0.177 8.8) |
| XYZ | xyz(19.6283, 10.8109, 8.2594) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.10
Raspberry (survey)
#B00149
ΔE00 2.22
Light Burgundy
#A8415B
ΔE00 4.99
Rouge
#AB1239
ΔE00 5.32
Cranberry
#9E003A
ΔE00 5.51
Ruby
#CA0147
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF224E #22AF83
analogous
#AF2294 #AF224E #AF3D22
triadic
#AF224E #4EAF22 #224EAF
tetradic
#AF224E #94AF22 #22AF83 #3D22AF
square
#AF224E #94AF22 #22AF83 #3D22AF
split-complementary
#AF224E #22AF3D #2294AF
monochromatic
#490E20 #7C1837 #AF224E #D83669 #E2698F
Accessibility & contrast
On white
6.64
#AF224E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AF224E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF224E
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF224E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF224E | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494A4F
Deuteranopia (green-blind)
#6D674B
Tritanopia (blue-blind)
#BF0035
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af224e; /* rgb */ color: rgb(175, 34, 78); /* oklch */ color: oklch(49.9% 0.176 8.8);
Tailwind
colors: {
custom: {
50: '#ce6d7f',
500: '#af224e',
950: '#000000',
},
}SCSS
$custom: #af224e; $custom-light: #ce6d7f; $custom-dark: #000000;
JSON
{
"hex": "#af224e",
"rgb": {
"r": 175,
"g": 34,
"b": 78
},
"hsl": {
"h": 341.277,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49915,
"c": 0.1765,
"h": 8.8
},
"luminance": 0.10808
}Semantic roles & 50–950 ramp
primary
#AF224E
secondary
#65C8A9
accent
#EAB43D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C