#AF3F31#AF3F31
#AF3F31 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.2% C 0.149 H 30.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3F31 |
|---|---|
| RGB | rgb(175, 63, 49) |
| HSL | hsl(7, 56%, 44%) |
| HSV | hsv(7, 72%, 69%) |
| CMYK | cmyk(0%, 64%, 72%, 31.4%) |
| CIE-LAB | lab(42.60, 44.86, 32.72) |
| CIE-LCH | lch(42.60, 55.53, 36.10°) |
| OKLab | oklab(52.23% 0.1291 0.0746) |
| OKLCH | oklch(52.23% 0.149 30) |
| XYZ | xyz(20.0132, 12.8935, 4.3400) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 4.30
Brownish Red
#9E3623
ΔE00 4.60
Firebrick
#B22222
ΔE00 4.63
Dull Red
#BB3F3F
ΔE00 4.66
Brown
#A52A2A
ΔE00 5.29
Reddish
#C44240
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3F31 #31A1AF
analogous
#AF3162 #AF3F31 #AF7E31
triadic
#AF3F31 #31AF3F #3F31AF
tetradic
#AF3F31 #62AF31 #31A1AF #7E31AF
square
#AF3F31 #62AF31 #31A1AF #7E31AF
split-complementary
#AF3F31 #31AF7E #3162AF
monochromatic
#4F1D16 #7F2E24 #AF3F31 #CE5D4F #DB897F
Accessibility & contrast
On white
5.87
#AF3F31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#AF3F31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3F31
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3F31 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E552F
Deuteranopia (green-blind)
#7A6E2E
Tritanopia (blue-blind)
#C0233C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af3f31; /* rgb */ color: rgb(175, 63, 49); /* oklch */ color: oklch(52.2% 0.149 30.0);
Tailwind
colors: {
custom: {
50: '#ce796a',
500: '#af3f31',
950: '#000000',
},
}SCSS
$custom: #af3f31; $custom-light: #ce796a; $custom-dark: #000000;
JSON
{
"hex": "#af3f31",
"rgb": {
"r": 175,
"g": 63,
"b": 49
},
"hsl": {
"h": 6.667,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.52233,
"c": 0.1491,
"h": 30
},
"luminance": 0.12891
}Semantic roles & 50–950 ramp
primary
#AF3F31
secondary
#78BCC4
accent
#CFE048
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A