#AF332F#AF332F
#AF332F is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.8% C 0.161 H 26.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AF332F |
|---|---|
| RGB | rgb(175, 51, 47) |
| HSL | hsl(2, 58%, 44%) |
| HSV | hsv(2, 73%, 69%) |
| CMYK | cmyk(0%, 70.9%, 73.1%, 31.4%) |
| CIE-LAB | lab(40.72, 49.80, 31.72) |
| CIE-LCH | lch(40.72, 59.05, 32.50°) |
| OKLab | oklab(50.81% 0.1442 0.072) |
| OKLCH | oklch(50.81% 0.161 26.5) |
| XYZ | xyz(19.3783, 11.6897, 3.9247) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.75
Brown
#A52A2A
ΔE00 2.84
Dull Red
#BB3F3F
ΔE00 4.37
Brick
#A03623
ΔE00 4.78
Scarlet
#BE0119
ΔE00 4.86
Brownish Red
#9E3623
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF332F #2FABAF
analogous
#AF2F6B #AF332F #AF732F
triadic
#AF332F #2FAF33 #332FAF
tetradic
#AF332F #6BAF2F #2FABAF #732FAF
square
#AF332F #6BAF2F #2FABAF #732FAF
split-complementary
#AF332F #2FAF73 #2F6BAF
monochromatic
#4F1715 #7F2522 #AF332F #CF504C #DC7F7C
Accessibility & contrast
On white
6.29
#AF332F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF332F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF332F
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF332F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF332F | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2D
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#C10533
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af332f; /* rgb */ color: rgb(175, 51, 47); /* oklch */ color: oklch(50.8% 0.161 26.5);
Tailwind
colors: {
custom: {
50: '#cf7368',
500: '#af332f',
950: '#000000',
},
}SCSS
$custom: #af332f; $custom-light: #cf7368; $custom-dark: #000000;
JSON
{
"hex": "#af332f",
"rgb": {
"r": 175,
"g": 51,
"b": 47
},
"hsl": {
"h": 1.875,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.50812,
"c": 0.16118,
"h": 26.5
},
"luminance": 0.11687
}Semantic roles & 50–950 ramp
primary
#AF332F
secondary
#75C2C4
accent
#DCE147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A