#AF342D#AF342D
#AF342D is a mid, vivid red. Relative luminance 0.118; OKLCH L 50.9% C 0.161 H 27.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF342D |
|---|---|
| RGB | rgb(175, 52, 45) |
| HSL | hsl(3, 59%, 43%) |
| HSV | hsv(3, 74%, 69%) |
| CMYK | cmyk(0%, 70.3%, 74.3%, 31.4%) |
| CIE-LAB | lab(40.84, 49.32, 33.03) |
| CIE-LCH | lch(40.84, 59.36, 33.81°) |
| OKLab | oklab(50.89% 0.1423 0.0744) |
| OKLCH | oklch(50.89% 0.161 27.6) |
| XYZ | xyz(19.3830, 11.7623, 3.7318) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.58
Brown
#A52A2A
ΔE00 3.19
Brick
#A03623
ΔE00 4.20
Brownish Red
#9E3623
ΔE00 4.46
Scarlet
#BE0119
ΔE00 4.67
Dull Red
#BB3F3F
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF342D #2DA8AF
analogous
#AF2D67 #AF342D #AF752D
triadic
#AF342D #2DAF34 #342DAF
tetradic
#AF342D #67AF2D #2DA8AF #752DAF
square
#AF342D #67AF2D #2DA8AF #752DAF
split-complementary
#AF342D #2DAF75 #2D67AF
monochromatic
#4E1714 #7E2620 #AF342D #D05049 #DD7F7A
Accessibility & contrast
On white
6.27
#AF342D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF342D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF342D
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF342D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF342D | 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)
#574F2B
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#C10734
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af342d; /* rgb */ color: rgb(175, 52, 45); /* oklch */ color: oklch(50.9% 0.161 27.6);
Tailwind
colors: {
custom: {
50: '#cf7366',
500: '#af342d',
950: '#000000',
},
}SCSS
$custom: #af342d; $custom-light: #cf7366; $custom-dark: #000000;
JSON
{
"hex": "#af342d",
"rgb": {
"r": 175,
"g": 52,
"b": 45
},
"hsl": {
"h": 3.231,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50891,
"c": 0.16055,
"h": 27.6
},
"luminance": 0.11759
}Semantic roles & 50–950 ramp
primary
#AF342D
secondary
#73C0C5
accent
#DAE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A