#AF4F40#AF4F40
#AF4F40 is a mid, vivid red. Relative luminance 0.151; OKLCH L 54.7% C 0.129 H 30.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4F40 |
|---|---|
| RGB | rgb(175, 79, 64) |
| HSL | hsl(8, 46%, 47%) |
| HSV | hsv(8, 63%, 69%) |
| CMYK | cmyk(0%, 54.9%, 63.4%, 31.4%) |
| CIE-LAB | lab(45.74, 38.06, 27.76) |
| CIE-LCH | lch(45.74, 47.11, 36.10°) |
| OKLab | oklab(54.67% 0.1108 0.0659) |
| OKLCH | oklch(54.67% 0.129 30.7) |
| XYZ | xyz(21.4025, 15.0787, 6.6329) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 4.96
Reddish
#C44240
ΔE00 5.14
Dusty Red
#B9484E
ΔE00 6.60
Dark Salmon
#C85A53
ΔE00 7.08
Brick
#A03623
ΔE00 7.45
Dark Coral
#CF524E
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4F40 #40A0AF
analogous
#AF4069 #AF4F40 #AF8740
triadic
#AF4F40 #40AF4F #4F40AF
tetradic
#AF4F40 #69AF40 #40A0AF #8740AF
square
#AF4F40 #69AF40 #40A0AF #8740AF
split-complementary
#AF4F40 #40AF87 #4069AF
monochromatic
#55271F #823B30 #AF4F40 #C77365 #D79C92
Accessibility & contrast
On white
5.23
#AF4F40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#AF4F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4F40
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4F40 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685F3E
Deuteranopia (green-blind)
#7F743E
Tritanopia (blue-blind)
#BF3D4C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af4f40; /* rgb */ color: rgb(175, 79, 64); /* oklch */ color: oklch(54.7% 0.129 30.7);
Tailwind
colors: {
custom: {
50: '#cc8375',
500: '#af4f40',
950: '#000000',
},
}SCSS
$custom: #af4f40; $custom-light: #cc8375; $custom-dark: #000000;
JSON
{
"hex": "#af4f40",
"rgb": {
"r": 175,
"g": 79,
"b": 64
},
"hsl": {
"h": 8.108,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.54672,
"c": 0.12891,
"h": 30.7
},
"luminance": 0.15076
}Semantic roles & 50–950 ramp
primary
#AF4F40
secondary
#88BBC3
accent
#C4D652
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B08
muted
#837C7B