#AF224F#AF224F
#AF224F is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.177 H 8.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AF224F |
|---|---|
| RGB | rgb(175, 34, 79) |
| HSL | hsl(341, 67%, 41%) |
| HSV | hsv(341, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 54.9%, 31.4%) |
| CIE-LAB | lab(39.28, 57.43, 10.01) |
| CIE-LCH | lch(39.28, 58.29, 9.89°) |
| OKLab | oklab(49.94% 0.1748 0.0255) |
| OKLCH | oklch(49.94% 0.177 8.3) |
| XYZ | xyz(19.6644, 10.8254, 8.4497) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.05
Raspberry (survey)
#B00149
ΔE00 2.24
Light Burgundy
#A8415B
ΔE00 4.93
Rouge
#AB1239
ΔE00 5.61
Cranberry
#9E003A
ΔE00 5.64
Violet Red
#A50055
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF224F #22AF82
analogous
#AF2295 #AF224F #AF3B22
triadic
#AF224F #4FAF22 #224FAF
tetradic
#AF224F #95AF22 #22AF82 #3B22AF
square
#AF224F #95AF22 #22AF82 #3B22AF
split-complementary
#AF224F #22AF3B #2295AF
monochromatic
#490E21 #7C1838 #AF224F #D8366A #E26990
Accessibility & contrast
On white
6.64
#AF224F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AF224F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF224F
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF224F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF224F | 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)
#494B50
Deuteranopia (green-blind)
#6D674C
Tritanopia (blue-blind)
#BF0036
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af224f; /* rgb */ color: rgb(175, 34, 79); /* oklch */ color: oklch(49.9% 0.177 8.3);
Tailwind
colors: {
custom: {
50: '#cd6d80',
500: '#af224f',
950: '#000000',
},
}SCSS
$custom: #af224f; $custom-light: #cd6d80; $custom-dark: #000000;
JSON
{
"hex": "#af224f",
"rgb": {
"r": 175,
"g": 34,
"b": 79
},
"hsl": {
"h": 340.851,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49941,
"c": 0.17666,
"h": 8.3
},
"luminance": 0.10823
}Semantic roles & 50–950 ramp
primary
#AF224F
secondary
#65C8A8
accent
#EAB33D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C