#AF332A#AF332A
#AF332A is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.7% C 0.162 H 28.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AF332A |
|---|---|
| RGB | rgb(175, 51, 42) |
| HSL | hsl(4, 61%, 43%) |
| HSV | hsv(4, 76%, 69%) |
| CMYK | cmyk(0%, 70.9%, 76%, 31.4%) |
| CIE-LAB | lab(40.66, 49.59, 34.56) |
| CIE-LCH | lch(40.66, 60.44, 34.87°) |
| OKLab | oklab(50.75% 0.1425 0.077) |
| OKLCH | oklch(50.75% 0.162 28.4) |
| XYZ | xyz(19.2831, 11.6517, 3.4237) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.33
Brown
#A52A2A
ΔE00 3.44
Brick
#A03623
ΔE00 3.71
Brownish Red
#9E3623
ΔE00 4.02
Scarlet
#BE0119
ΔE00 4.36
Dull Red
#BB3F3F
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF332A #2AA6AF
analogous
#AF2A64 #AF332A #AF752A
triadic
#AF332A #2AAF33 #332AAF
tetradic
#AF332A #64AF2A #2AA6AF #752AAF
square
#AF332A #64AF2A #2AA6AF #752AAF
split-complementary
#AF332A #2AAF75 #2A64AF
monochromatic
#4C1612 #7E251E #AF332A #D24E44 #DE7C75
Accessibility & contrast
On white
6.31
#AF332A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF332A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF332A
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF332A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF332A | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F28
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#C10232
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af332a; /* rgb */ color: rgb(175, 51, 42); /* oklch */ color: oklch(50.7% 0.162 28.4);
Tailwind
colors: {
custom: {
50: '#cf7364',
500: '#af332a',
950: '#000000',
},
}SCSS
$custom: #af332a; $custom-light: #cf7364; $custom-dark: #000000;
JSON
{
"hex": "#af332a",
"rgb": {
"r": 175,
"g": 51,
"b": 42
},
"hsl": {
"h": 4.06,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50746,
"c": 0.16195,
"h": 28.4
},
"luminance": 0.11649
}Semantic roles & 50–950 ramp
primary
#AF332A
secondary
#6FC0C6
accent
#DAE443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A