#AF304D#AF304D
#AF304D is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.163 H 11.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AF304D |
|---|---|
| RGB | rgb(175, 48, 77) |
| HSL | hsl(346, 57%, 44%) |
| HSV | hsv(346, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 56%, 31.4%) |
| CIE-LAB | lab(40.84, 52.77, 13.43) |
| CIE-LCH | lch(40.84, 54.45, 14.28°) |
| OKLab | oklab(51.08% 0.1595 0.0337) |
| OKLCH | oklch(51.08% 0.163 11.9) |
| XYZ | xyz(20.0776, 11.7665, 8.2337) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.16
Raspberry (survey)
#B00149
ΔE00 4.53
Purplish Red
#B0054B
ΔE00 4.57
Rouge
#AB1239
ΔE00 4.94
Light Maroon
#A24857
ΔE00 4.99
Ruby
#CA0147
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF304D #30AF92
analogous
#AF308C #AF304D #AF5230
triadic
#AF304D #4DAF30 #304DAF
tetradic
#AF304D #8CAF30 #30AF92 #5230AF
square
#AF304D #8CAF30 #30AF92 #5230AF
split-complementary
#AF304D #30AF52 #308CAF
monochromatic
#4F1623 #7F2338 #AF304D #CE4E6B #DC7E93
Accessibility & contrast
On white
6.26
#AF304D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF304D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF304D
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF304D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF304D | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50504D
Deuteranopia (green-blind)
#716A4A
Tritanopia (blue-blind)
#BF0F3C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af304d; /* rgb */ color: rgb(175, 48, 77); /* oklch */ color: oklch(51.1% 0.163 11.9);
Tailwind
colors: {
custom: {
50: '#cd727e',
500: '#af304d',
950: '#000000',
},
}SCSS
$custom: #af304d; $custom-light: #cd727e; $custom-dark: #000000;
JSON
{
"hex": "#af304d",
"rgb": {
"r": 175,
"g": 48,
"b": 77
},
"hsl": {
"h": 346.299,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.51076,
"c": 0.16303,
"h": 11.9
},
"luminance": 0.11764
}Semantic roles & 50–950 ramp
primary
#AF304D
secondary
#76C4B3
accent
#E0BD48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B