#AF332D#AF332D
#AF332D is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.8% C 0.161 H 27.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF332D |
|---|---|
| RGB | rgb(175, 51, 45) |
| HSL | hsl(3, 59%, 43%) |
| HSV | hsv(3, 74%, 69%) |
| CMYK | cmyk(0%, 70.9%, 74.3%, 31.4%) |
| CIE-LAB | lab(40.69, 49.71, 32.87) |
| CIE-LCH | lch(40.69, 59.60, 33.47°) |
| OKLab | oklab(50.79% 0.1435 0.074) |
| OKLCH | oklch(50.79% 0.161 27.3) |
| XYZ | xyz(19.3389, 11.6740, 3.7171) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.47
Brown
#A52A2A
ΔE00 3.00
Brick
#A03623
ΔE00 4.32
Brownish Red
#9E3623
ΔE00 4.57
Scarlet
#BE0119
ΔE00 4.60
Dull Red
#BB3F3F
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF332D #2DA9AF
analogous
#AF2D68 #AF332D #AF742D
triadic
#AF332D #2DAF33 #332DAF
tetradic
#AF332D #68AF2D #2DA9AF #742DAF
square
#AF332D #68AF2D #2DA9AF #742DAF
split-complementary
#AF332D #2DAF74 #2D68AF
monochromatic
#4E1714 #7E2520 #AF332D #D04F49 #DD7E7A
Accessibility & contrast
On white
6.30
#AF332D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF332D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF332D
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF332D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF332D | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2B
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#C10433
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af332d; /* rgb */ color: rgb(175, 51, 45); /* oklch */ color: oklch(50.8% 0.161 27.3);
Tailwind
colors: {
custom: {
50: '#cf7366',
500: '#af332d',
950: '#000000',
},
}SCSS
$custom: #af332d; $custom-light: #cf7366; $custom-dark: #000000;
JSON
{
"hex": "#af332d",
"rgb": {
"r": 175,
"g": 51,
"b": 45
},
"hsl": {
"h": 2.769,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50785,
"c": 0.16148,
"h": 27.3
},
"luminance": 0.11671
}Semantic roles & 50–950 ramp
primary
#AF332D
secondary
#73C1C5
accent
#DBE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A