#AF303A#AF303A
#AF303A is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.163 H 21.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF303A |
|---|---|
| RGB | rgb(175, 48, 58) |
| HSL | hsl(355, 57%, 44%) |
| HSV | hsv(355, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 66.9%, 31.4%) |
| CIE-LAB | lab(40.47, 51.50, 24.79) |
| CIE-LCH | lch(40.47, 57.16, 25.70°) |
| OKLab | oklab(50.68% 0.152 0.0585) |
| OKLCH | oklch(50.68% 0.163 21.1) |
| XYZ | xyz(19.5020, 11.5362, 5.2020) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.79
Lipstick Red
#C0022F
ΔE00 4.03
Brown
#A52A2A
ΔE00 4.31
Dull Red
#BB3F3F
ΔE00 4.53
Rose Red
#BE013C
ΔE00 4.76
Rouge
#AB1239
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF303A #30AFA5
analogous
#AF3079 #AF303A #AF6530
triadic
#AF303A #3AAF30 #303AAF
tetradic
#AF303A #79AF30 #30AFA5 #6530AF
square
#AF303A #79AF30 #30AFA5 #6530AF
split-complementary
#AF303A #30AF65 #3079AF
monochromatic
#4F161A #7F232A #AF303A #CE4E58 #DC7E85
Accessibility & contrast
On white
6.35
#AF303A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF303A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF303A
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF303A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF303A | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544E39
Deuteranopia (green-blind)
#746936
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af303a; /* rgb */ color: rgb(175, 48, 58); /* oklch */ color: oklch(50.7% 0.163 21.1);
Tailwind
colors: {
custom: {
50: '#ce7270',
500: '#af303a',
950: '#000000',
},
}SCSS
$custom: #af303a; $custom-light: #ce7270; $custom-dark: #000000;
JSON
{
"hex": "#af303a",
"rgb": {
"r": 175,
"g": 48,
"b": 58
},
"hsl": {
"h": 355.276,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.50678,
"c": 0.16284,
"h": 21.1
},
"luminance": 0.11533
}Semantic roles & 50–950 ramp
primary
#AF303A
secondary
#76C4BE
accent
#E0D448
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A