#AF284D#AF284D
#AF284D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.171 H 10.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AF284D |
|---|---|
| RGB | rgb(175, 40, 77) |
| HSL | hsl(344, 63%, 42%) |
| HSV | hsv(344, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 56%, 31.4%) |
| CIE-LAB | lab(39.87, 55.50, 12.09) |
| CIE-LCH | lch(39.87, 56.80, 12.29°) |
| OKLab | oklab(50.35% 0.1683 0.0305) |
| OKLCH | oklch(50.35% 0.171 10.3) |
| XYZ | xyz(19.7794, 11.1702, 8.1343) |
| Luminance | 0.1117 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.10
Raspberry (survey)
#B00149
ΔE00 3.11
Light Burgundy
#A8415B
ΔE00 4.59
Rouge
#AB1239
ΔE00 4.86
Ruby
#CA0147
ΔE00 5.33
Rose Red
#BE013C
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF284D #28AF8A
analogous
#AF2890 #AF284D #AF4728
triadic
#AF284D #4DAF28 #284DAF
tetradic
#AF284D #90AF28 #28AF8A #4728AF
square
#AF284D #90AF28 #28AF8A #4728AF
split-complementary
#AF284D #28AF47 #2890AF
monochromatic
#4B1121 #7D1D37 #AF284D #D44169 #DF7390
Accessibility & contrast
On white
6.49
#AF284D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF284D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF284D
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF284D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF284D | 1.00 | 6.49 | 3.23 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4C4E
Deuteranopia (green-blind)
#6F684A
Tritanopia (blue-blind)
#BF0038
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af284d; /* rgb */ color: rgb(175, 40, 77); /* oklch */ color: oklch(50.4% 0.171 10.3);
Tailwind
colors: {
custom: {
50: '#cd6f7e',
500: '#af284d',
950: '#000000',
},
}SCSS
$custom: #af284d; $custom-light: #cd6f7e; $custom-dark: #000000;
JSON
{
"hex": "#af284d",
"rgb": {
"r": 175,
"g": 40,
"b": 77
},
"hsl": {
"h": 343.556,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.50353,
"c": 0.17104,
"h": 10.3
},
"luminance": 0.11167
}Semantic roles & 50–950 ramp
primary
#AF284D
secondary
#6DC6AE
accent
#E6B942
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B