#AF294E#AF294E
#AF294E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.170 H 10.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AF294E |
|---|---|
| RGB | rgb(175, 41, 78) |
| HSL | hsl(343, 62%, 42%) |
| HSV | hsv(343, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 55.4%, 31.4%) |
| CIE-LAB | lab(40.00, 55.25, 11.64) |
| CIE-LCH | lch(40.00, 56.47, 11.90°) |
| OKLab | oklab(50.46% 0.1677 0.0295) |
| OKLCH | oklch(50.46% 0.17 10) |
| XYZ | xyz(19.8492, 11.2527, 8.3330) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.14
Raspberry (survey)
#B00149
ΔE00 3.18
Light Burgundy
#A8415B
ΔE00 4.38
Rouge
#AB1239
ΔE00 5.11
Ruby
#CA0147
ΔE00 5.44
Rose Red
#BE013C
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF294E #29AF8A
analogous
#AF2991 #AF294E #AF4729
triadic
#AF294E #4EAF29 #294EAF
tetradic
#AF294E #91AF29 #29AF8A #4729AF
square
#AF294E #91AF29 #29AF8A #4729AF
split-complementary
#AF294E #29AF47 #2991AF
monochromatic
#4C1222 #7D1D38 #AF294E #D3426A #DE7491
Accessibility & contrast
On white
6.46
#AF294E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AF294E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF294E
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF294E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF294E | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4D4F
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#BF0039
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af294e; /* rgb */ color: rgb(175, 41, 78); /* oklch */ color: oklch(50.5% 0.170 10.0);
Tailwind
colors: {
custom: {
50: '#cd6f7f',
500: '#af294e',
950: '#000000',
},
}SCSS
$custom: #af294e; $custom-light: #cd6f7f; $custom-dark: #000000;
JSON
{
"hex": "#af294e",
"rgb": {
"r": 175,
"g": 41,
"b": 78
},
"hsl": {
"h": 343.433,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50462,
"c": 0.17023,
"h": 10
},
"luminance": 0.1125
}Semantic roles & 50–950 ramp
primary
#AF294E
secondary
#6EC6AE
accent
#E5B843
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C