#AF304A#AF304A
#AF304A is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.163 H 13.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AF304A |
|---|---|
| RGB | rgb(175, 48, 74) |
| HSL | hsl(348, 57%, 44%) |
| HSV | hsv(348, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 57.7%, 31.4%) |
| CIE-LAB | lab(40.78, 52.54, 15.22) |
| CIE-LCH | lch(40.78, 54.70, 16.16°) |
| OKLab | oklab(51.01% 0.1583 0.0378) |
| OKLCH | oklch(51.01% 0.163 13.4) |
| XYZ | xyz(19.9741, 11.7251, 7.6886) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.39
Rose Red
#BE013C
ΔE00 4.51
Light Burgundy
#A8415B
ΔE00 4.85
Ruby
#CA0147
ΔE00 4.88
Raspberry (survey)
#B00149
ΔE00 5.02
Purplish Red
#B0054B
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF304A #30AF95
analogous
#AF3089 #AF304A #AF5530
triadic
#AF304A #4AAF30 #304AAF
tetradic
#AF304A #89AF30 #30AF95 #5530AF
square
#AF304A #89AF30 #30AF95 #5530AF
split-complementary
#AF304A #30AF55 #3089AF
monochromatic
#4F1621 #7F2336 #AF304A #CE4E68 #DC7E91
Accessibility & contrast
On white
6.28
#AF304A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF304A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF304A
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF304A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF304A | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514F4A
Deuteranopia (green-blind)
#726A47
Tritanopia (blue-blind)
#BF0D3B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af304a; /* rgb */ color: rgb(175, 48, 74); /* oklch */ color: oklch(51.0% 0.163 13.4);
Tailwind
colors: {
custom: {
50: '#cd727c',
500: '#af304a',
950: '#000000',
},
}SCSS
$custom: #af304a; $custom-light: #cd727c; $custom-dark: #000000;
JSON
{
"hex": "#af304a",
"rgb": {
"r": 175,
"g": 48,
"b": 74
},
"hsl": {
"h": 347.717,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.51005,
"c": 0.16278,
"h": 13.4
},
"luminance": 0.11722
}Semantic roles & 50–950 ramp
primary
#AF304A
secondary
#76C4B4
accent
#E0C148
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B