#AF4542#AF4542
#AF4542 is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.3% C 0.140 H 24.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4542 |
|---|---|
| RGB | rgb(175, 69, 66) |
| HSL | hsl(2, 45%, 47%) |
| HSV | hsv(2, 62%, 69%) |
| CMYK | cmyk(0%, 60.6%, 62.3%, 31.4%) |
| CIE-LAB | lab(43.90, 43.10, 24.25) |
| CIE-LCH | lch(43.90, 49.45, 29.36°) |
| OKLab | oklab(53.29% 0.1269 0.0582) |
| OKLCH | oklch(53.29% 0.14 24.6) |
| XYZ | xyz(20.7926, 13.7663, 6.7154) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.42
Dusty Red
#B9484E
ΔE00 3.70
Reddish
#C44240
ΔE00 4.21
Cardinal
#C41E3A
ΔE00 6.18
Brown
#A52A2A
ΔE00 6.35
Firebrick
#B22222
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4542 #42ACAF
analogous
#AF4276 #AF4542 #AF7B42
triadic
#AF4542 #42AF45 #4542AF
tetradic
#AF4542 #76AF42 #42ACAF #7B42AF
square
#AF4542 #76AF42 #42ACAF #7B42AF
split-complementary
#AF4542 #42AF7B #4276AF
monochromatic
#562220 #833331 #AF4542 #C66B68 #D79695
Accessibility & contrast
On white
5.60
#AF4542 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#AF4542 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4542
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4542 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605A41
Deuteranopia (green-blind)
#7A703F
Tritanopia (blue-blind)
#BF3045
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #af4542; /* rgb */ color: rgb(175, 69, 66); /* oklch */ color: oklch(53.3% 0.140 24.6);
Tailwind
colors: {
custom: {
50: '#cd7d76',
500: '#af4542',
950: '#000000',
},
}SCSS
$custom: #af4542; $custom-light: #cd7d76; $custom-dark: #000000;
JSON
{
"hex": "#af4542",
"rgb": {
"r": 175,
"g": 69,
"b": 66
},
"hsl": {
"h": 1.651,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.53288,
"c": 0.13963,
"h": 24.6
},
"luminance": 0.13764
}Semantic roles & 50–950 ramp
primary
#AF4542
secondary
#8AC1C2
accent
#D1D553
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A08
muted
#837C7B