#AF2247#AF2247
#AF2247 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.176 H 12.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2247 |
|---|---|
| RGB | rgb(175, 34, 71) |
| HSL | hsl(344, 67%, 41%) |
| HSV | hsv(344, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 59.4%, 31.4%) |
| CIE-LAB | lab(39.10, 56.85, 14.85) |
| CIE-LCH | lch(39.10, 58.76, 14.64°) |
| OKLab | oklab(49.74% 0.1717 0.0368) |
| OKLCH | oklch(49.74% 0.176 12.1) |
| XYZ | xyz(19.3905, 10.7158, 7.0074) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.15
Purplish Red
#B0054B
ΔE00 3.37
Rouge
#AB1239
ΔE00 3.39
Rose Red
#BE013C
ΔE00 4.18
Ruby
#CA0147
ΔE00 4.88
Cranberry
#9E003A
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2247 #22AF8A
analogous
#AF228D #AF2247 #AF4322
triadic
#AF2247 #47AF22 #2247AF
tetradic
#AF2247 #8DAF22 #22AF8A #4322AF
square
#AF2247 #8DAF22 #22AF8A #4322AF
split-complementary
#AF2247 #22AF43 #228DAF
monochromatic
#490E1D #7C1832 #AF2247 #D83661 #E26989
Accessibility & contrast
On white
6.68
#AF2247 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AF2247 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2247
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2247 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2247 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4A47
Deuteranopia (green-blind)
#6E6643
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2247; /* rgb */ color: rgb(175, 34, 71); /* oklch */ color: oklch(49.7% 0.176 12.1);
Tailwind
colors: {
custom: {
50: '#ce6c79',
500: '#af2247',
950: '#000000',
},
}SCSS
$custom: #af2247; $custom-light: #ce6c79; $custom-dark: #000000;
JSON
{
"hex": "#af2247",
"rgb": {
"r": 175,
"g": 34,
"b": 71
},
"hsl": {
"h": 344.255,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49742,
"c": 0.17559,
"h": 12.1
},
"luminance": 0.10713
}Semantic roles & 50–950 ramp
primary
#AF2247
secondary
#65C8AE
accent
#EABD3D
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B