#AF2A4F#AF2A4F
#AF2A4F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.169 H 9.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A4F |
|---|---|
| RGB | rgb(175, 42, 79) |
| HSL | hsl(343, 61%, 43%) |
| HSV | hsv(343, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 54.9%, 31.4%) |
| CIE-LAB | lab(40.14, 55.01, 11.20) |
| CIE-LCH | lch(40.14, 56.13, 11.51°) |
| OKLab | oklab(50.57% 0.167 0.0284) |
| OKLCH | oklch(50.57% 0.169 9.7) |
| XYZ | xyz(19.9203, 11.3372, 8.5350) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.20
Raspberry (survey)
#B00149
ΔE00 3.28
Light Burgundy
#A8415B
ΔE00 4.19
Rouge
#AB1239
ΔE00 5.36
Ruby
#CA0147
ΔE00 5.56
Light Maroon
#A24857
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A4F #2AAF8A
analogous
#AF2A92 #AF2A4F #AF472A
triadic
#AF2A4F #4FAF2A #2A4FAF
tetradic
#AF2A4F #92AF2A #2AAF8A #472AAF
square
#AF2A4F #92AF2A #2AAF8A #472AAF
split-complementary
#AF2A4F #2AAF47 #2A92AF
monochromatic
#4C1222 #7E1E39 #AF2A4F #D2446C #DE7593
Accessibility & contrast
On white
6.43
#AF2A4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF2A4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A4F
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A4F | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4D50
Deuteranopia (green-blind)
#6F684C
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2a4f; /* rgb */ color: rgb(175, 42, 79); /* oklch */ color: oklch(50.6% 0.169 9.7);
Tailwind
colors: {
custom: {
50: '#cd7080',
500: '#af2a4f',
950: '#000000',
},
}SCSS
$custom: #af2a4f; $custom-light: #cd7080; $custom-dark: #000000;
JSON
{
"hex": "#af2a4f",
"rgb": {
"r": 175,
"g": 42,
"b": 79
},
"hsl": {
"h": 343.308,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50574,
"c": 0.1694,
"h": 9.7
},
"luminance": 0.11334
}Semantic roles & 50–950 ramp
primary
#AF2A4F
secondary
#6FC6AE
accent
#E4B843
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C