#AF3338#AF3338
#AF3338 is a mid, vivid red. Relative luminance 0.118; OKLCH L 50.9% C 0.160 H 22.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3338 |
|---|---|
| RGB | rgb(175, 51, 56) |
| HSL | hsl(358, 55%, 44%) |
| HSV | hsv(358, 71%, 69%) |
| CMYK | cmyk(0%, 70.9%, 68%, 31.4%) |
| CIE-LAB | lab(40.85, 50.26, 26.48) |
| CIE-LCH | lch(40.85, 56.81, 27.79°) |
| OKLab | oklab(50.95% 0.1476 0.062) |
| OKLCH | oklch(50.95% 0.16 22.8) |
| XYZ | xyz(19.5789, 11.7700, 4.9815) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.68
Dull Red
#BB3F3F
ΔE00 3.82
Cardinal
#C41E3A
ΔE00 4.16
Lipstick Red
#C0022F
ΔE00 4.25
Firebrick
#B22222
ΔE00 4.97
Cherry (survey)
#CF0234
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3338 #33AFAA
analogous
#AF3376 #AF3338 #AF6C33
triadic
#AF3338 #38AF33 #3338AF
tetradic
#AF3338 #76AF33 #33AFAA #6C33AF
square
#AF3338 #76AF33 #33AFAA #6C33AF
split-complementary
#AF3338 #33AF6C #3376AF
monochromatic
#50171A #802529 #AF3338 #CD5257 #DB8285
Accessibility & contrast
On white
6.26
#AF3338 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF3338 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3338
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3338 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3338 | 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)
#564F37
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#C00A36
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af3338; /* rgb */ color: rgb(175, 51, 56); /* oklch */ color: oklch(50.9% 0.160 22.8);
Tailwind
colors: {
custom: {
50: '#ce736e',
500: '#af3338',
950: '#000000',
},
}SCSS
$custom: #af3338; $custom-light: #ce736e; $custom-dark: #000000;
JSON
{
"hex": "#af3338",
"rgb": {
"r": 175,
"g": 51,
"b": 56
},
"hsl": {
"h": 357.581,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.5095,
"c": 0.16008,
"h": 22.8
},
"luminance": 0.11767
}Semantic roles & 50–950 ramp
primary
#AF3338
secondary
#7AC4C1
accent
#DED84A
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A