#AF332C#AF332C
#AF332C is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.8% C 0.162 H 27.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF332C |
|---|---|
| RGB | rgb(175, 51, 44) |
| HSL | hsl(3, 60%, 43%) |
| HSV | hsv(3, 75%, 69%) |
| CMYK | cmyk(0%, 70.9%, 74.9%, 31.4%) |
| CIE-LAB | lab(40.68, 49.67, 33.43) |
| CIE-LCH | lch(40.68, 59.87, 33.95°) |
| OKLab | oklab(50.77% 0.1432 0.075) |
| OKLCH | oklch(50.77% 0.162 27.7) |
| XYZ | xyz(19.3198, 11.6664, 3.6169) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.38
Brown
#A52A2A
ΔE00 3.13
Brick
#A03623
ΔE00 4.10
Brownish Red
#9E3623
ΔE00 4.37
Scarlet
#BE0119
ΔE00 4.50
Dull Red
#BB3F3F
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF332C #2CA8AF
analogous
#AF2C66 #AF332C #AF742C
triadic
#AF332C #2CAF33 #332CAF
tetradic
#AF332C #66AF2C #2CA8AF #742CAF
square
#AF332C #66AF2C #2CA8AF #742CAF
split-complementary
#AF332C #2CAF74 #2C66AF
monochromatic
#4D1613 #7E2520 #AF332C #D14F47 #DD7E78
Accessibility & contrast
On white
6.30
#AF332C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF332C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF332C
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF332C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF332C | 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)
#574F2A
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#C10333
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af332c; /* rgb */ color: rgb(175, 51, 44); /* oklch */ color: oklch(50.8% 0.162 27.7);
Tailwind
colors: {
custom: {
50: '#cf7366',
500: '#af332c',
950: '#000000',
},
}SCSS
$custom: #af332c; $custom-light: #cf7366; $custom-dark: #000000;
JSON
{
"hex": "#af332c",
"rgb": {
"r": 175,
"g": 51,
"b": 44
},
"hsl": {
"h": 3.206,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50772,
"c": 0.16163,
"h": 27.7
},
"luminance": 0.11663
}Semantic roles & 50–950 ramp
primary
#AF332C
secondary
#72C1C5
accent
#DBE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A