#AF2836#AF2836
#AF2836 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.170 H 20.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2836 |
|---|---|
| RGB | rgb(175, 40, 54) |
| HSL | hsl(354, 63%, 42%) |
| HSV | hsv(354, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 69.1%, 31.4%) |
| CIE-LAB | lab(39.41, 54.05, 25.95) |
| CIE-LCH | lch(39.41, 59.95, 25.64°) |
| OKLab | oklab(49.87% 0.1592 0.0605) |
| OKLCH | oklch(49.87% 0.17 20.8) |
| XYZ | xyz(19.1060, 10.9008, 4.5874) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.37
Cardinal
#C41E3A
ΔE00 3.84
Brown
#A52A2A
ΔE00 3.91
Rose Red
#BE013C
ΔE00 4.30
Rouge
#AB1239
ΔE00 4.37
Dull Red
#BB3F3F
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2836 #28AFA1
analogous
#AF2879 #AF2836 #AF5E28
triadic
#AF2836 #36AF28 #2836AF
tetradic
#AF2836 #79AF28 #28AFA1 #5E28AF
square
#AF2836 #79AF28 #28AFA1 #5E28AF
split-complementary
#AF2836 #28AF5E #2879AF
monochromatic
#4B1117 #7D1D27 #AF2836 #D44150 #DF737E
Accessibility & contrast
On white
6.60
#AF2836 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AF2836 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2836
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2836 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2836 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504B35
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#C0002F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2836; /* rgb */ color: rgb(175, 40, 54); /* oklch */ color: oklch(49.9% 0.170 20.8);
Tailwind
colors: {
custom: {
50: '#cf6e6d',
500: '#af2836',
950: '#000000',
},
}SCSS
$custom: #af2836; $custom-light: #cf6e6d; $custom-dark: #000000;
JSON
{
"hex": "#af2836",
"rgb": {
"r": 175,
"g": 40,
"b": 54
},
"hsl": {
"h": 353.778,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.49872,
"c": 0.17034,
"h": 20.8
},
"luminance": 0.10898
}Semantic roles & 50–950 ramp
primary
#AF2836
secondary
#6DC6BD
accent
#E6D542
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A