#AF3038#AF3038
#AF3038 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.163 H 21.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3038 |
|---|---|
| RGB | rgb(175, 48, 56) |
| HSL | hsl(356, 57%, 44%) |
| HSV | hsv(356, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 68%, 31.4%) |
| CIE-LAB | lab(40.44, 51.39, 25.98) |
| CIE-LCH | lch(40.44, 57.58, 26.81°) |
| OKLab | oklab(50.64% 0.1512 0.0609) |
| OKLCH | oklch(50.64% 0.163 21.9) |
| XYZ | xyz(19.4521, 11.5163, 4.9392) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.79
Cardinal
#C41E3A
ΔE00 3.91
Lipstick Red
#C0022F
ΔE00 3.91
Dull Red
#BB3F3F
ΔE00 4.32
Rose Red
#BE013C
ΔE00 5.20
Firebrick
#B22222
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3038 #30AFA7
analogous
#AF3077 #AF3038 #AF6730
triadic
#AF3038 #38AF30 #3038AF
tetradic
#AF3038 #77AF30 #30AFA7 #6730AF
square
#AF3038 #77AF30 #30AFA7 #6730AF
split-complementary
#AF3038 #30AF67 #3077AF
monochromatic
#4F1619 #7F2329 #AF3038 #CE4E56 #DC7E84
Accessibility & contrast
On white
6.36
#AF3038 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AF3038 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3038
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3038 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544E37
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af3038; /* rgb */ color: rgb(175, 48, 56); /* oklch */ color: oklch(50.6% 0.163 21.9);
Tailwind
colors: {
custom: {
50: '#ce726e',
500: '#af3038',
950: '#000000',
},
}SCSS
$custom: #af3038; $custom-light: #ce726e; $custom-dark: #000000;
JSON
{
"hex": "#af3038",
"rgb": {
"r": 175,
"g": 48,
"b": 56
},
"hsl": {
"h": 356.22,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.50643,
"c": 0.16298,
"h": 21.9
},
"luminance": 0.11513
}Semantic roles & 50–950 ramp
primary
#AF3038
secondary
#76C4BF
accent
#E0D748
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A