#AF5142#AF5142
#AF5142 is a mid, vivid red. Relative luminance 0.154; OKLCH L 55.0% C 0.126 H 30.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5142 |
|---|---|
| RGB | rgb(175, 81, 66) |
| HSL | hsl(8, 45%, 47%) |
| HSV | hsv(8, 62%, 69%) |
| CMYK | cmyk(0%, 53.7%, 62.3%, 31.4%) |
| CIE-LAB | lab(46.17, 37.18, 27.12) |
| CIE-LCH | lch(46.17, 46.02, 36.11°) |
| OKLab | oklab(55.01% 0.1084 0.0647) |
| OKLCH | oklch(55.01% 0.126 30.8) |
| XYZ | xyz(21.6069, 15.3948, 6.9869) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 5.24
Reddish
#C44240
ΔE00 5.31
Dusty Red
#B9484E
ΔE00 6.60
Dark Salmon
#C85A53
ΔE00 6.76
Dark Coral
#CF524E
ΔE00 7.29
Brick
#A03623
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5142 #42A0AF
analogous
#AF426A #AF5142 #AF8842
triadic
#AF5142 #42AF51 #5142AF
tetradic
#AF5142 #6AAF42 #42A0AF #8842AF
square
#AF5142 #6AAF42 #42A0AF #8842AF
split-complementary
#AF5142 #42AF88 #426AAF
monochromatic
#562820 #833C31 #AF5142 #C67568 #D79E95
Accessibility & contrast
On white
5.15
#AF5142 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#AF5142 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5142
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5142 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#696140
Deuteranopia (green-blind)
#807540
Tritanopia (blue-blind)
#BF404E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af5142; /* rgb */ color: rgb(175, 81, 66); /* oklch */ color: oklch(55.0% 0.126 30.8);
Tailwind
colors: {
custom: {
50: '#cc8476',
500: '#af5142',
950: '#000000',
},
}SCSS
$custom: #af5142; $custom-light: #cc8476; $custom-dark: #000000;
JSON
{
"hex": "#af5142",
"rgb": {
"r": 175,
"g": 81,
"b": 66
},
"hsl": {
"h": 8.257,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.55007,
"c": 0.12624,
"h": 30.8
},
"luminance": 0.15392
}Semantic roles & 50–950 ramp
primary
#AF5142
secondary
#8ABBC2
accent
#C3D553
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B08
muted
#837C7B