#AF3336#AF3336
#AF3336 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.160 H 23.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3336 |
|---|---|
| RGB | rgb(175, 51, 54) |
| HSL | hsl(359, 55%, 44%) |
| HSV | hsv(359, 71%, 69%) |
| CMYK | cmyk(0%, 70.9%, 69.1%, 31.4%) |
| CIE-LAB | lab(40.82, 50.15, 27.66) |
| CIE-LCH | lch(40.82, 57.27, 28.88°) |
| OKLab | oklab(50.92% 0.1468 0.0643) |
| OKLCH | oklch(50.92% 0.16 23.7) |
| XYZ | xyz(19.5310, 11.7508, 4.7290) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.29
Dull Red
#BB3F3F
ΔE00 3.76
Lipstick Red
#C0022F
ΔE00 4.33
Firebrick
#B22222
ΔE00 4.40
Cardinal
#C41E3A
ΔE00 4.45
Cherry (survey)
#CF0234
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3336 #33AFAC
analogous
#AF3374 #AF3336 #AF6E33
triadic
#AF3336 #36AF33 #3336AF
tetradic
#AF3336 #74AF33 #33AFAC #6E33AF
square
#AF3336 #74AF33 #33AFAC #6E33AF
split-complementary
#AF3336 #33AF6E #3374AF
monochromatic
#501719 #802527 #AF3336 #CD5255 #DB8284
Accessibility & contrast
On white
6.27
#AF3336 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF3336 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3336
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3336 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3336 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564F35
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#C00935
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af3336; /* rgb */ color: rgb(175, 51, 54); /* oklch */ color: oklch(50.9% 0.160 23.7);
Tailwind
colors: {
custom: {
50: '#ce736d',
500: '#af3336',
950: '#000000',
},
}SCSS
$custom: #af3336; $custom-light: #ce736d; $custom-dark: #000000;
JSON
{
"hex": "#af3336",
"rgb": {
"r": 175,
"g": 51,
"b": 54
},
"hsl": {
"h": 358.548,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.50917,
"c": 0.16029,
"h": 23.7
},
"luminance": 0.11748
}Semantic roles & 50–950 ramp
primary
#AF3336
secondary
#7AC4C2
accent
#DEDB4A
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150907
muted
#837B7A