#AF2A3E#AF2A3E
#AF2A3E is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.168 H 17.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A3E |
|---|---|
| RGB | rgb(175, 42, 62) |
| HSL | hsl(351, 61%, 43%) |
| HSV | hsv(351, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 64.6%, 31.4%) |
| CIE-LAB | lab(39.78, 53.84, 21.44) |
| CIE-LCH | lch(39.78, 57.95, 21.71°) |
| OKLab | oklab(50.19% 0.1603 0.0514) |
| OKLCH | oklch(50.19% 0.168 17.8) |
| XYZ | xyz(19.3787, 11.1206, 5.6826) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.16
Rose Red
#BE013C
ΔE00 3.24
Cardinal
#C41E3A
ΔE00 4.21
Lipstick Red
#C0022F
ΔE00 4.69
Ruby
#CA0147
ΔE00 5.34
Brown
#A52A2A
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A3E #2AAF9B
analogous
#AF2A81 #AF2A3E #AF582A
triadic
#AF2A3E #3EAF2A #2A3EAF
tetradic
#AF2A3E #81AF2A #2AAF9B #582AAF
square
#AF2A3E #81AF2A #2AAF9B #582AAF
split-complementary
#AF2A3E #2AAF58 #2A81AF
monochromatic
#4C121B #7E1E2D #AF2A3E #D24459 #DE7585
Accessibility & contrast
On white
6.51
#AF2A3E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AF2A3E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A3E
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A3E | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504C3E
Deuteranopia (green-blind)
#71683A
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2a3e; /* rgb */ color: rgb(175, 42, 62); /* oklch */ color: oklch(50.2% 0.168 17.8);
Tailwind
colors: {
custom: {
50: '#ce6f73',
500: '#af2a3e',
950: '#000000',
},
}SCSS
$custom: #af2a3e; $custom-light: #ce6f73; $custom-dark: #000000;
JSON
{
"hex": "#af2a3e",
"rgb": {
"r": 175,
"g": 42,
"b": 62
},
"hsl": {
"h": 350.977,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.5019,
"c": 0.1683,
"h": 17.8
},
"luminance": 0.11118
}Semantic roles & 50–950 ramp
primary
#AF2A3E
secondary
#6FC6B9
accent
#E4CC43
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B