#AF3331#AF3331
#AF3331 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.8% C 0.161 H 25.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3331 |
|---|---|
| RGB | rgb(175, 51, 49) |
| HSL | hsl(1, 56%, 44%) |
| HSV | hsv(1, 72%, 69%) |
| CMYK | cmyk(0%, 70.9%, 72%, 31.4%) |
| CIE-LAB | lab(40.75, 49.90, 30.57) |
| CIE-LCH | lch(40.75, 58.52, 31.50°) |
| OKLab | oklab(50.84% 0.1449 0.0699) |
| OKLCH | oklch(50.84% 0.161 25.7) |
| XYZ | xyz(19.4195, 11.7063, 4.1421) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.80
Firebrick
#B22222
ΔE00 3.14
Dull Red
#BB3F3F
ΔE00 4.09
Lipstick Red
#C0022F
ΔE00 4.94
Scarlet
#BE0119
ΔE00 5.19
Brick
#A03623
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3331 #31ADAF
analogous
#AF316E #AF3331 #AF7231
triadic
#AF3331 #31AF33 #3331AF
tetradic
#AF3331 #6EAF31 #31ADAF #7231AF
square
#AF3331 #6EAF31 #31ADAF #7231AF
split-complementary
#AF3331 #31AF72 #316EAF
monochromatic
#4F1716 #7F2524 #AF3331 #CE514F #DB817F
Accessibility & contrast
On white
6.29
#AF3331 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF3331 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3331
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3331 | 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)
#564F30
Deuteranopia (green-blind)
#756A2D
Tritanopia (blue-blind)
#C10634
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af3331; /* rgb */ color: rgb(175, 51, 49); /* oklch */ color: oklch(50.8% 0.161 25.7);
Tailwind
colors: {
custom: {
50: '#cf7369',
500: '#af3331',
950: '#000000',
},
}SCSS
$custom: #af3331; $custom-light: #cf7369; $custom-dark: #000000;
JSON
{
"hex": "#af3331",
"rgb": {
"r": 175,
"g": 51,
"b": 49
},
"hsl": {
"h": 0.952,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.5084,
"c": 0.1609,
"h": 25.7
},
"luminance": 0.11703
}Semantic roles & 50–950 ramp
primary
#AF3331
secondary
#78C3C4
accent
#DDE048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A