#AF2B36#AF2B36
#AF2B36 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 21.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2B36 |
|---|---|
| RGB | rgb(175, 43, 54) |
| HSL | hsl(355, 61%, 43%) |
| HSV | hsv(355, 75%, 69%) |
| CMYK | cmyk(0%, 75.4%, 69.1%, 31.4%) |
| CIE-LAB | lab(39.77, 53.06, 26.38) |
| CIE-LCH | lch(39.77, 59.25, 26.44°) |
| OKLab | oklab(50.14% 0.1561 0.0615) |
| OKLCH | oklch(50.14% 0.168 21.5) |
| XYZ | xyz(19.2111, 11.1110, 4.6224) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.48
Brown
#A52A2A
ΔE00 3.63
Cardinal
#C41E3A
ΔE00 3.86
Rose Red
#BE013C
ΔE00 4.77
Rouge
#AB1239
ΔE00 4.95
Dull Red
#BB3F3F
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2B36 #2BAFA4
analogous
#AF2B78 #AF2B36 #AF622B
triadic
#AF2B36 #36AF2B #2B36AF
tetradic
#AF2B36 #78AF2B #2BAFA4 #622BAF
square
#AF2B36 #78AF2B #2BAFA4 #622BAF
split-complementary
#AF2B36 #2BAF62 #2B78AF
monochromatic
#4D1318 #7E1F27 #AF2B36 #D14651 #DE777F
Accessibility & contrast
On white
6.52
#AF2B36 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AF2B36 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2B36
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2B36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2B36 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514C35
Deuteranopia (green-blind)
#726832
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2b36; /* rgb */ color: rgb(175, 43, 54); /* oklch */ color: oklch(50.1% 0.168 21.5);
Tailwind
colors: {
custom: {
50: '#cf6f6d',
500: '#af2b36',
950: '#000000',
},
}SCSS
$custom: #af2b36; $custom-light: #cf6f6d; $custom-dark: #000000;
JSON
{
"hex": "#af2b36",
"rgb": {
"r": 175,
"g": 43,
"b": 54
},
"hsl": {
"h": 355,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.50135,
"c": 0.16774,
"h": 21.5
},
"luminance": 0.11108
}Semantic roles & 50–950 ramp
primary
#AF2B36
secondary
#70C5BE
accent
#E4D644
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A