#AF342C#AF342C
#AF342C is a mid, vivid red. Relative luminance 0.118; OKLCH L 50.9% C 0.161 H 28.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF342C |
|---|---|
| RGB | rgb(175, 52, 44) |
| HSL | hsl(4, 60%, 43%) |
| HSV | hsv(4, 75%, 69%) |
| CMYK | cmyk(0%, 70.3%, 74.9%, 31.4%) |
| CIE-LAB | lab(40.82, 49.28, 33.59) |
| CIE-LCH | lch(40.82, 59.64, 34.28°) |
| OKLab | oklab(50.88% 0.1419 0.0754) |
| OKLCH | oklch(50.88% 0.161 28) |
| XYZ | xyz(19.3640, 11.7547, 3.6316) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.52
Brown
#A52A2A
ΔE00 3.33
Brick
#A03623
ΔE00 3.99
Brownish Red
#9E3623
ΔE00 4.27
Scarlet
#BE0119
ΔE00 4.58
Dull Red
#BB3F3F
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF342C #2CA7AF
analogous
#AF2C65 #AF342C #AF752C
triadic
#AF342C #2CAF34 #342CAF
tetradic
#AF342C #65AF2C #2CA7AF #752CAF
square
#AF342C #65AF2C #2CA7AF #752CAF
split-complementary
#AF342C #2CAF75 #2C65AF
monochromatic
#4D1713 #7E2520 #AF342C #D15047 #DD7E78
Accessibility & contrast
On white
6.27
#AF342C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF342C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF342C
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF342C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF342C | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2A
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#C10733
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af342c; /* rgb */ color: rgb(175, 52, 44); /* oklch */ color: oklch(50.9% 0.161 28.0);
Tailwind
colors: {
custom: {
50: '#cf7366',
500: '#af342c',
950: '#000000',
},
}SCSS
$custom: #af342c; $custom-light: #cf7366; $custom-dark: #000000;
JSON
{
"hex": "#af342c",
"rgb": {
"r": 175,
"g": 52,
"b": 44
},
"hsl": {
"h": 3.664,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50878,
"c": 0.1607,
"h": 28
},
"luminance": 0.11752
}Semantic roles & 50–950 ramp
primary
#AF342C
secondary
#72C0C5
accent
#D9E345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A