#AF2047#AF2047
#AF2047 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.177 H 11.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2047 |
|---|---|
| RGB | rgb(175, 32, 71) |
| HSL | hsl(344, 69%, 41%) |
| HSV | hsv(344, 82%, 69%) |
| CMYK | cmyk(0%, 81.7%, 59.4%, 31.4%) |
| CIE-LAB | lab(38.91, 57.39, 14.59) |
| CIE-LCH | lch(38.91, 59.22, 14.26°) |
| OKLab | oklab(49.6% 0.1734 0.0362) |
| OKLCH | oklch(49.6% 0.177 11.8) |
| XYZ | xyz(19.3350, 10.6048, 6.9889) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.86
Purplish Red
#B0054B
ΔE00 3.09
Rouge
#AB1239
ΔE00 3.43
Rose Red
#BE013C
ΔE00 4.29
Cranberry
#9E003A
ΔE00 4.85
Ruby
#CA0147
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2047 #20AF88
analogous
#AF208E #AF2047 #AF4020
triadic
#AF2047 #47AF20 #2047AF
tetradic
#AF2047 #8EAF20 #20AF88 #4020AF
square
#AF2047 #8EAF20 #20AF88 #4020AF
split-complementary
#AF2047 #20AF40 #208EAF
monochromatic
#480D1D #7B1732 #AF2047 #DA3360 #E36688
Accessibility & contrast
On white
6.73
#AF2047 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AF2047 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2047
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2047 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2047 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4948
Deuteranopia (green-blind)
#6E6643
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2047; /* rgb */ color: rgb(175, 32, 71); /* oklch */ color: oklch(49.6% 0.177 11.8);
Tailwind
colors: {
custom: {
50: '#ce6c79',
500: '#af2047',
950: '#000000',
},
}SCSS
$custom: #af2047; $custom-light: #ce6c79; $custom-dark: #000000;
JSON
{
"hex": "#af2047",
"rgb": {
"r": 175,
"g": 32,
"b": 71
},
"hsl": {
"h": 343.636,
"s": 69.082,
"l": 40.588
},
"oklch": {
"l": 0.49601,
"c": 0.17717,
"h": 11.8
},
"luminance": 0.10602
}Semantic roles & 50–950 ramp
primary
#AF2047
secondary
#62C8AD
accent
#ECBC3C
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B