#AF332B#AF332B
#AF332B is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.8% C 0.162 H 28.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF332B |
|---|---|
| RGB | rgb(175, 51, 43) |
| HSL | hsl(4, 61%, 43%) |
| HSV | hsv(4, 75%, 69%) |
| CMYK | cmyk(0%, 70.9%, 75.4%, 31.4%) |
| CIE-LAB | lab(40.67, 49.63, 34.00) |
| CIE-LCH | lch(40.67, 60.16, 34.41°) |
| OKLab | oklab(50.76% 0.1428 0.076) |
| OKLCH | oklch(50.76% 0.162 28) |
| XYZ | xyz(19.3013, 11.6589, 3.5191) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.34
Brown
#A52A2A
ΔE00 3.27
Brick
#A03623
ΔE00 3.90
Brownish Red
#9E3623
ΔE00 4.19
Scarlet
#BE0119
ΔE00 4.42
Dull Red
#BB3F3F
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF332B #2BA7AF
analogous
#AF2B65 #AF332B #AF752B
triadic
#AF332B #2BAF33 #332BAF
tetradic
#AF332B #65AF2B #2BA7AF #752BAF
square
#AF332B #65AF2B #2BA7AF #752BAF
split-complementary
#AF332B #2BAF75 #2B65AF
monochromatic
#4D1613 #7E251F #AF332B #D14E46 #DE7D77
Accessibility & contrast
On white
6.30
#AF332B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF332B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF332B
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF332B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF332B | 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)
#574F29
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#C10332
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af332b; /* rgb */ color: rgb(175, 51, 43); /* oklch */ color: oklch(50.8% 0.162 28.0);
Tailwind
colors: {
custom: {
50: '#cf7365',
500: '#af332b',
950: '#000000',
},
}SCSS
$custom: #af332b; $custom-light: #cf7365; $custom-dark: #000000;
JSON
{
"hex": "#af332b",
"rgb": {
"r": 175,
"g": 51,
"b": 43
},
"hsl": {
"h": 3.636,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.50759,
"c": 0.16179,
"h": 28
},
"luminance": 0.11656
}Semantic roles & 50–950 ramp
primary
#AF332B
secondary
#70C0C5
accent
#DAE444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A