#AF362A#AF362A
#AF362A is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.1% C 0.159 H 29.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AF362A |
|---|---|
| RGB | rgb(175, 54, 42) |
| HSL | hsl(5, 61%, 43%) |
| HSV | hsv(5, 76%, 69%) |
| CMYK | cmyk(0%, 69.1%, 76%, 31.4%) |
| CIE-LAB | lab(41.09, 48.40, 35.03) |
| CIE-LCH | lch(41.09, 59.75, 35.90°) |
| OKLab | oklab(51.07% 0.1387 0.078) |
| OKLCH | oklch(51.07% 0.159 29.3) |
| XYZ | xyz(19.4185, 11.9224, 3.4688) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.92
Brick
#A03623
ΔE00 3.46
Brownish Red
#9E3623
ΔE00 3.80
Brown
#A52A2A
ΔE00 4.10
Scarlet
#BE0119
ΔE00 4.75
Dull Red
#BB3F3F
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF362A #2AA3AF
analogous
#AF2A60 #AF362A #AF792A
triadic
#AF362A #2AAF36 #362AAF
tetradic
#AF362A #60AF2A #2AA3AF #792AAF
square
#AF362A #60AF2A #2AA3AF #792AAF
split-complementary
#AF362A #2AAF79 #2A60AF
monochromatic
#4C1812 #7E271E #AF362A #D25144 #DE7F75
Accessibility & contrast
On white
6.21
#AF362A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AF362A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF362A
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF362A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF362A | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595028
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#C10D34
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af362a; /* rgb */ color: rgb(175, 54, 42); /* oklch */ color: oklch(51.1% 0.159 29.3);
Tailwind
colors: {
custom: {
50: '#cf7464',
500: '#af362a',
950: '#000000',
},
}SCSS
$custom: #af362a; $custom-light: #cf7464; $custom-dark: #000000;
JSON
{
"hex": "#af362a",
"rgb": {
"r": 175,
"g": 54,
"b": 42
},
"hsl": {
"h": 5.414,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.51072,
"c": 0.15917,
"h": 29.3
},
"luminance": 0.11919
}Semantic roles & 50–950 ramp
primary
#AF362A
secondary
#6FBEC6
accent
#D6E443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A