#AF3E40#AF3E40
#AF3E40 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.3% C 0.148 H 22.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3E40 |
|---|---|
| RGB | rgb(175, 62, 64) |
| HSL | hsl(359, 48%, 46%) |
| HSV | hsv(359, 65%, 69%) |
| CMYK | cmyk(0%, 64.6%, 63.4%, 31.4%) |
| CIE-LAB | lab(42.66, 46.17, 23.89) |
| CIE-LCH | lch(42.66, 51.98, 27.35°) |
| OKLab | oklab(52.35% 0.1362 0.0572) |
| OKLCH | oklch(52.35% 0.148 22.8) |
| XYZ | xyz(20.3292, 12.9321, 6.2752) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.75
Dusty Red
#B9484E
ΔE00 3.92
Cardinal
#C41E3A
ΔE00 4.91
Reddish
#C44240
ΔE00 4.92
Brown
#A52A2A
ΔE00 5.44
Lipstick Red
#C0022F
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3E40 #3EAFAD
analogous
#AF3E79 #AF3E40 #AF753E
triadic
#AF3E40 #40AF3E #3E40AF
tetradic
#AF3E40 #79AF3E #3EAFAD #753EAF
square
#AF3E40 #79AF3E #3EAFAD #753EAF
split-complementary
#AF3E40 #3EAF75 #3E79AF
monochromatic
#551E1F #822E2F #AF3E40 #C86364 #D89091
Accessibility & contrast
On white
5.86
#AF3E40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#AF3E40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3E40
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3E40 | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B563F
Deuteranopia (green-blind)
#786E3D
Tritanopia (blue-blind)
#C02540
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af3e40; /* rgb */ color: rgb(175, 62, 64); /* oklch */ color: oklch(52.3% 0.148 22.8);
Tailwind
colors: {
custom: {
50: '#cd7974',
500: '#af3e40',
950: '#000000',
},
}SCSS
$custom: #af3e40; $custom-light: #cd7974; $custom-dark: #000000;
JSON
{
"hex": "#af3e40",
"rgb": {
"r": 175,
"g": 62,
"b": 64
},
"hsl": {
"h": 358.938,
"s": 47.679,
"l": 46.471
},
"oklch": {
"l": 0.52349,
"c": 0.14774,
"h": 22.8
},
"luminance": 0.12929
}Semantic roles & 50–950 ramp
primary
#AF3E40
secondary
#86C3C2
accent
#D7D551
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150908
muted
#837B7B