#AF332E#AF332E
#AF332E is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.8% C 0.161 H 26.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF332E |
|---|---|
| RGB | rgb(175, 51, 46) |
| HSL | hsl(2, 58%, 43%) |
| HSV | hsv(2, 74%, 69%) |
| CMYK | cmyk(0%, 70.9%, 73.7%, 31.4%) |
| CIE-LAB | lab(40.71, 49.76, 32.30) |
| CIE-LCH | lch(40.71, 59.32, 32.99°) |
| OKLab | oklab(50.8% 0.1439 0.073) |
| OKLCH | oklch(50.8% 0.161 26.9) |
| XYZ | xyz(19.3583, 11.6818, 3.8197) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.60
Brown
#A52A2A
ΔE00 2.90
Dull Red
#BB3F3F
ΔE00 4.53
Brick
#A03623
ΔE00 4.54
Scarlet
#BE0119
ΔE00 4.72
Brownish Red
#9E3623
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF332E #2EAAAF
analogous
#AF2E69 #AF332E #AF742E
triadic
#AF332E #2EAF33 #332EAF
tetradic
#AF332E #69AF2E #2EAAAF #742EAF
square
#AF332E #69AF2E #2EAAAF #742EAF
split-complementary
#AF332E #2EAF74 #2E69AF
monochromatic
#4E1715 #7F2521 #AF332E #D0504B #DC7F7B
Accessibility & contrast
On white
6.30
#AF332E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF332E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF332E
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF332E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF332E | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2C
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#C10433
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af332e; /* rgb */ color: rgb(175, 51, 46); /* oklch */ color: oklch(50.8% 0.161 26.9);
Tailwind
colors: {
custom: {
50: '#cf7367',
500: '#af332e',
950: '#000000',
},
}SCSS
$custom: #af332e; $custom-light: #cf7367; $custom-dark: #000000;
JSON
{
"hex": "#af332e",
"rgb": {
"r": 175,
"g": 51,
"b": 46
},
"hsl": {
"h": 2.326,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50798,
"c": 0.16133,
"h": 26.9
},
"luminance": 0.11679
}Semantic roles & 50–950 ramp
primary
#AF332E
secondary
#74C2C5
accent
#DCE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A