#AF3135#AF3135
#AF3135 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.7% C 0.162 H 23.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3135 |
|---|---|
| RGB | rgb(175, 49, 53) |
| HSL | hsl(358, 56%, 44%) |
| HSV | hsv(358, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 69.7%, 31.4%) |
| CIE-LAB | lab(40.53, 50.86, 27.91) |
| CIE-LCH | lch(40.53, 58.02, 28.76°) |
| OKLab | oklab(50.69% 0.1489 0.0647) |
| OKLCH | oklch(50.69% 0.162 23.5) |
| XYZ | xyz(19.4222, 11.5705, 4.5781) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.10
Dull Red
#BB3F3F
ΔE00 4.03
Lipstick Red
#C0022F
ΔE00 4.10
Firebrick
#B22222
ΔE00 4.26
Cardinal
#C41E3A
ΔE00 4.39
Cherry (survey)
#CF0234
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3135 #31AFAB
analogous
#AF3174 #AF3135 #AF6C31
triadic
#AF3135 #35AF31 #3135AF
tetradic
#AF3135 #74AF31 #31AFAB #6C31AF
square
#AF3135 #74AF31 #31AFAB #6C31AF
split-complementary
#AF3135 #31AF6C #3174AF
monochromatic
#4F1618 #7F2427 #AF3135 #CE4F53 #DB7F82
Accessibility & contrast
On white
6.34
#AF3135 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF3135 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3135
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3135 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3135 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554E34
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#C00134
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af3135; /* rgb */ color: rgb(175, 49, 53); /* oklch */ color: oklch(50.7% 0.162 23.5);
Tailwind
colors: {
custom: {
50: '#cf726c',
500: '#af3135',
950: '#000000',
},
}SCSS
$custom: #af3135; $custom-light: #cf726c; $custom-dark: #000000;
JSON
{
"hex": "#af3135",
"rgb": {
"r": 175,
"g": 49,
"b": 53
},
"hsl": {
"h": 358.095,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.50694,
"c": 0.16232,
"h": 23.5
},
"luminance": 0.11568
}Semantic roles & 50–950 ramp
primary
#AF3135
secondary
#78C4C2
accent
#E0DB48
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A