#AF3A2E#AF3A2E
#AF3A2E is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.6% C 0.155 H 29.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3A2E |
|---|---|
| RGB | rgb(175, 58, 46) |
| HSL | hsl(6, 58%, 43%) |
| HSV | hsv(6, 74%, 69%) |
| CMYK | cmyk(0%, 66.9%, 73.7%, 31.4%) |
| CIE-LAB | lab(41.75, 46.91, 33.48) |
| CIE-LCH | lch(41.75, 57.63, 35.52°) |
| OKLab | oklab(51.58% 0.1349 0.0756) |
| OKLCH | oklch(51.58% 0.155 29.3) |
| XYZ | xyz(19.6875, 12.3402, 3.9295) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.61
Brick
#A03623
ΔE00 3.89
Brownish Red
#9E3623
ΔE00 4.21
Brown
#A52A2A
ΔE00 4.41
Dull Red
#BB3F3F
ΔE00 4.80
Scarlet
#BE0119
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3A2E #2EA3AF
analogous
#AF2E63 #AF3A2E #AF7A2E
triadic
#AF3A2E #2EAF3A #3A2EAF
tetradic
#AF3A2E #63AF2E #2EA3AF #7A2EAF
square
#AF3A2E #63AF2E #2EA3AF #7A2EAF
split-complementary
#AF3A2E #2EAF7A #2E63AF
monochromatic
#4E1A15 #7F2A21 #AF3A2E #D0574B #DC847B
Accessibility & contrast
On white
6.06
#AF3A2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#AF3A2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3A2E
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3A2E | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B522C
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#C01938
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af3a2e; /* rgb */ color: rgb(175, 58, 46); /* oklch */ color: oklch(51.6% 0.155 29.3);
Tailwind
colors: {
custom: {
50: '#cf7767',
500: '#af3a2e',
950: '#000000',
},
}SCSS
$custom: #af3a2e; $custom-light: #cf7767; $custom-dark: #000000;
JSON
{
"hex": "#af3a2e",
"rgb": {
"r": 175,
"g": 58,
"b": 46
},
"hsl": {
"h": 5.581,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51582,
"c": 0.15464,
"h": 29.3
},
"luminance": 0.12337
}Semantic roles & 50–950 ramp
primary
#AF3A2E
secondary
#74BDC5
accent
#D3E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A