#AF4240#AF4240
#AF4240 is a mid, vivid red. Relative luminance 0.134; OKLCH L 52.9% C 0.143 H 24.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4240 |
|---|---|
| RGB | rgb(175, 66, 64) |
| HSL | hsl(1, 46%, 47%) |
| HSV | hsv(1, 63%, 69%) |
| CMYK | cmyk(0%, 62.3%, 63.4%, 31.4%) |
| CIE-LAB | lab(43.34, 44.36, 24.74) |
| CIE-LCH | lch(43.34, 50.80, 29.15°) |
| OKLab | oklab(52.86% 0.1305 0.0591) |
| OKLCH | oklch(52.86% 0.143 24.4) |
| XYZ | xyz(20.5548, 13.3833, 6.3503) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.34
Dusty Red
#B9484E
ΔE00 3.96
Reddish
#C44240
ΔE00 4.35
Cardinal
#C41E3A
ΔE00 5.70
Brown
#A52A2A
ΔE00 5.75
Firebrick
#B22222
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4240 #40ADAF
analogous
#AF4076 #AF4240 #AF7A40
triadic
#AF4240 #40AF42 #4240AF
tetradic
#AF4240 #76AF40 #40ADAF #7A40AF
square
#AF4240 #76AF40 #40ADAF #7A40AF
split-complementary
#AF4240 #40AF7A #4076AF
monochromatic
#55201F #823130 #AF4240 #C76765 #D79392
Accessibility & contrast
On white
5.71
#AF4240 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#AF4240 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4240
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4240 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E583F
Deuteranopia (green-blind)
#796F3D
Tritanopia (blue-blind)
#C02B42
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #af4240; /* rgb */ color: rgb(175, 66, 64); /* oklch */ color: oklch(52.9% 0.143 24.4);
Tailwind
colors: {
custom: {
50: '#cd7b75',
500: '#af4240',
950: '#000000',
},
}SCSS
$custom: #af4240; $custom-light: #cd7b75; $custom-dark: #000000;
JSON
{
"hex": "#af4240",
"rgb": {
"r": 175,
"g": 66,
"b": 64
},
"hsl": {
"h": 1.081,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.52855,
"c": 0.1433,
"h": 24.4
},
"luminance": 0.13381
}Semantic roles & 50–950 ramp
primary
#AF4240
secondary
#88C1C3
accent
#D4D652
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A08
muted
#837C7B