#AF342E#AF342E
#AF342E is a mid, vivid red. Relative luminance 0.118; OKLCH L 50.9% C 0.160 H 27.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AF342E |
|---|---|
| RGB | rgb(175, 52, 46) |
| HSL | hsl(3, 58%, 43%) |
| HSV | hsv(3, 74%, 69%) |
| CMYK | cmyk(0%, 70.3%, 73.7%, 31.4%) |
| CIE-LAB | lab(40.85, 49.37, 32.46) |
| CIE-LCH | lch(40.85, 59.08, 33.32°) |
| OKLab | oklab(50.91% 0.1426 0.0734) |
| OKLCH | oklch(50.91% 0.16 27.2) |
| XYZ | xyz(19.4025, 11.7701, 3.8344) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.68
Brown
#A52A2A
ΔE00 3.08
Brick
#A03623
ΔE00 4.42
Dull Red
#BB3F3F
ΔE00 4.53
Brownish Red
#9E3623
ΔE00 4.67
Scarlet
#BE0119
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF342E #2EA9AF
analogous
#AF2E68 #AF342E #AF742E
triadic
#AF342E #2EAF34 #342EAF
tetradic
#AF342E #68AF2E #2EA9AF #742EAF
square
#AF342E #68AF2E #2EA9AF #742EAF
split-complementary
#AF342E #2EAF74 #2E68AF
monochromatic
#4E1715 #7F2621 #AF342E #D0514B #DC807B
Accessibility & contrast
On white
6.26
#AF342E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF342E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF342E
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF342E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF342E | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2C
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#C10834
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af342e; /* rgb */ color: rgb(175, 52, 46); /* oklch */ color: oklch(50.9% 0.160 27.2);
Tailwind
colors: {
custom: {
50: '#cf7367',
500: '#af342e',
950: '#000000',
},
}SCSS
$custom: #af342e; $custom-light: #cf7367; $custom-dark: #000000;
JSON
{
"hex": "#af342e",
"rgb": {
"r": 175,
"g": 52,
"b": 46
},
"hsl": {
"h": 2.791,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50905,
"c": 0.16039,
"h": 27.2
},
"luminance": 0.11767
}Semantic roles & 50–950 ramp
primary
#AF342E
secondary
#74C1C5
accent
#DAE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A