#AF2338#AF2338
#AF2338 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.174 H 19.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2338 |
|---|---|
| RGB | rgb(175, 35, 56) |
| HSL | hsl(351, 67%, 41%) |
| HSV | hsv(351, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 68%, 31.4%) |
| CIE-LAB | lab(38.91, 55.67, 24.08) |
| CIE-LCH | lch(38.91, 60.65, 23.39°) |
| OKLab | oklab(49.51% 0.1649 0.0566) |
| OKLCH | oklch(49.51% 0.174 19) |
| XYZ | xyz(18.9962, 10.6045, 4.7873) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.02
Rose Red
#BE013C
ΔE00 3.28
Lipstick Red
#C0022F
ΔE00 3.74
Cardinal
#C41E3A
ΔE00 4.06
Brown
#A52A2A
ΔE00 5.04
Ruby
#CA0147
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2338 #23AF9A
analogous
#AF237E #AF2338 #AF5423
triadic
#AF2338 #38AF23 #2338AF
tetradic
#AF2338 #7EAF23 #23AF9A #5423AF
square
#AF2338 #7EAF23 #23AF9A #5423AF
split-complementary
#AF2338 #23AF54 #237EAF
monochromatic
#490F17 #7C1928 #AF2338 #D73850 #E16B7D
Accessibility & contrast
On white
6.73
#AF2338 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AF2338 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2338
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2338 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2338 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4938
Deuteranopia (green-blind)
#706634
Tritanopia (blue-blind)
#C0002C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2338; /* rgb */ color: rgb(175, 35, 56); /* oklch */ color: oklch(49.5% 0.174 19.0);
Tailwind
colors: {
custom: {
50: '#cf6c6e',
500: '#af2338',
950: '#000000',
},
}SCSS
$custom: #af2338; $custom-light: #cf6c6e; $custom-dark: #000000;
JSON
{
"hex": "#af2338",
"rgb": {
"r": 175,
"g": 35,
"b": 56
},
"hsl": {
"h": 351,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.49507,
"c": 0.17431,
"h": 19
},
"luminance": 0.10602
}Semantic roles & 50–950 ramp
primary
#AF2338
secondary
#66C7B9
accent
#EAD03E
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150807
muted
#837A7A