#AF284C#AF284C
#AF284C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.3% C 0.171 H 10.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AF284C |
|---|---|
| RGB | rgb(175, 40, 76) |
| HSL | hsl(344, 63%, 42%) |
| HSV | hsv(344, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 56.6%, 31.4%) |
| CIE-LAB | lab(39.84, 55.42, 12.69) |
| CIE-LCH | lch(39.84, 56.86, 12.89°) |
| OKLab | oklab(50.33% 0.1679 0.0319) |
| OKLCH | oklch(50.33% 0.171 10.8) |
| XYZ | xyz(19.7444, 11.1562, 7.9498) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.21
Purplish Red
#B0054B
ΔE00 3.25
Rouge
#AB1239
ΔE00 4.60
Light Burgundy
#A8415B
ΔE00 4.72
Rose Red
#BE013C
ΔE00 5.13
Ruby
#CA0147
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF284C #28AF8B
analogous
#AF2890 #AF284C #AF4828
triadic
#AF284C #4CAF28 #284CAF
tetradic
#AF284C #90AF28 #28AF8B #4828AF
square
#AF284C #90AF28 #28AF8B #4828AF
split-complementary
#AF284C #28AF48 #2890AF
monochromatic
#4B1121 #7D1D36 #AF284C #D44168 #DF738F
Accessibility & contrast
On white
6.50
#AF284C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF284C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF284C
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF284C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF284C | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4C4D
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#BF0037
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af284c; /* rgb */ color: rgb(175, 40, 76); /* oklch */ color: oklch(50.3% 0.171 10.8);
Tailwind
colors: {
custom: {
50: '#cd6f7d',
500: '#af284c',
950: '#000000',
},
}SCSS
$custom: #af284c; $custom-light: #cd6f7d; $custom-dark: #000000;
JSON
{
"hex": "#af284c",
"rgb": {
"r": 175,
"g": 40,
"b": 76
},
"hsl": {
"h": 344,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.50329,
"c": 0.1709,
"h": 10.8
},
"luminance": 0.11153
}Semantic roles & 50–950 ramp
primary
#AF284C
secondary
#6DC6AE
accent
#E6BA42
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B