#AF284A#AF284A
#AF284A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.171 H 11.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF284A |
|---|---|
| RGB | rgb(175, 40, 74) |
| HSL | hsl(345, 63%, 42%) |
| HSV | hsv(345, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 57.7%, 31.4%) |
| CIE-LAB | lab(39.80, 55.28, 13.89) |
| CIE-LCH | lch(39.80, 57.00, 14.11°) |
| OKLab | oklab(50.28% 0.1671 0.0347) |
| OKLCH | oklch(50.28% 0.171 11.7) |
| XYZ | xyz(19.6760, 11.1288, 7.5892) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.51
Purplish Red
#B0054B
ΔE00 3.63
Rouge
#AB1239
ΔE00 4.10
Rose Red
#BE013C
ΔE00 4.63
Ruby
#CA0147
ΔE00 4.94
Light Burgundy
#A8415B
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF284A #28AF8D
analogous
#AF288E #AF284A #AF4A28
triadic
#AF284A #4AAF28 #284AAF
tetradic
#AF284A #8EAF28 #28AF8D #4A28AF
square
#AF284A #8EAF28 #28AF8D #4A28AF
split-complementary
#AF284A #28AF4A #288EAF
monochromatic
#4B1120 #7D1D35 #AF284A #D44166 #DF738E
Accessibility & contrast
On white
6.51
#AF284A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF284A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF284A
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF284A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF284A | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4C4A
Deuteranopia (green-blind)
#6F6847
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af284a; /* rgb */ color: rgb(175, 40, 74); /* oklch */ color: oklch(50.3% 0.171 11.7);
Tailwind
colors: {
custom: {
50: '#ce6f7c',
500: '#af284a',
950: '#000000',
},
}SCSS
$custom: #af284a; $custom-light: #ce6f7c; $custom-dark: #000000;
JSON
{
"hex": "#af284a",
"rgb": {
"r": 175,
"g": 40,
"b": 74
},
"hsl": {
"h": 344.889,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.5028,
"c": 0.17068,
"h": 11.7
},
"luminance": 0.11126
}Semantic roles & 50–950 ramp
primary
#AF284A
secondary
#6DC6B0
accent
#E6BD42
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B