#AF294D#AF294D
#AF294D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.170 H 10.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #AF294D |
|---|---|
| RGB | rgb(175, 41, 77) |
| HSL | hsl(344, 62%, 42%) |
| HSV | hsv(344, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 56%, 31.4%) |
| CIE-LAB | lab(39.98, 55.18, 12.24) |
| CIE-LCH | lch(39.98, 56.52, 12.51°) |
| OKLab | oklab(50.44% 0.1673 0.0309) |
| OKLCH | oklch(50.44% 0.17 10.5) |
| XYZ | xyz(19.8136, 11.2385, 8.1457) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.27
Purplish Red
#B0054B
ΔE00 3.27
Light Burgundy
#A8415B
ΔE00 4.51
Rouge
#AB1239
ΔE00 4.85
Ruby
#CA0147
ΔE00 5.29
Rose Red
#BE013C
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF294D #29AF8B
analogous
#AF2990 #AF294D #AF4829
triadic
#AF294D #4DAF29 #294DAF
tetradic
#AF294D #90AF29 #29AF8B #4829AF
square
#AF294D #90AF29 #29AF8B #4829AF
split-complementary
#AF294D #29AF48 #2990AF
monochromatic
#4C1221 #7D1D37 #AF294D #D34269 #DE7491
Accessibility & contrast
On white
6.47
#AF294D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AF294D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF294D
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF294D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF294D | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4D4E
Deuteranopia (green-blind)
#6F684A
Tritanopia (blue-blind)
#BF0038
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af294d; /* rgb */ color: rgb(175, 41, 77); /* oklch */ color: oklch(50.4% 0.170 10.5);
Tailwind
colors: {
custom: {
50: '#cd6f7e',
500: '#af294d',
950: '#000000',
},
}SCSS
$custom: #af294d; $custom-light: #cd6f7e; $custom-dark: #000000;
JSON
{
"hex": "#af294d",
"rgb": {
"r": 175,
"g": 41,
"b": 77
},
"hsl": {
"h": 343.881,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50437,
"c": 0.17009,
"h": 10.5
},
"luminance": 0.11236
}Semantic roles & 50–950 ramp
primary
#AF294D
secondary
#6EC6AE
accent
#E5B943
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B