#AF223D#AF223D
#AF223D is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.175 H 16.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AF223D |
|---|---|
| RGB | rgb(175, 34, 61) |
| HSL | hsl(349, 67%, 41%) |
| HSV | hsv(349, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 65.1%, 31.4%) |
| CIE-LAB | lab(38.89, 56.23, 20.92) |
| CIE-LCH | lch(38.89, 59.99, 20.41°) |
| OKLab | oklab(49.53% 0.1677 0.0501) |
| OKLCH | oklch(49.53% 0.175 16.6) |
| XYZ | xyz(19.0956, 10.5979, 5.4541) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.03
Rose Red
#BE013C
ΔE00 2.71
Cardinal
#C41E3A
ΔE00 4.75
Lipstick Red
#C0022F
ΔE00 4.95
Ruby
#CA0147
ΔE00 5.09
Raspberry (survey)
#B00149
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF223D #22AF94
analogous
#AF2283 #AF223D #AF4E22
triadic
#AF223D #3DAF22 #223DAF
tetradic
#AF223D #83AF22 #22AF94 #4E22AF
square
#AF223D #83AF22 #22AF94 #4E22AF
split-complementary
#AF223D #22AF4E #2283AF
monochromatic
#490E19 #7C182B #AF223D #D83655 #E26981
Accessibility & contrast
On white
6.73
#AF223D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AF223D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF223D
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF223D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF223D | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C493D
Deuteranopia (green-blind)
#706639
Tritanopia (blue-blind)
#C0002E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af223d; /* rgb */ color: rgb(175, 34, 61); /* oklch */ color: oklch(49.5% 0.175 16.6);
Tailwind
colors: {
custom: {
50: '#cf6c72',
500: '#af223d',
950: '#000000',
},
}SCSS
$custom: #af223d; $custom-light: #cf6c72; $custom-dark: #000000;
JSON
{
"hex": "#af223d",
"rgb": {
"r": 175,
"g": 34,
"b": 61
},
"hsl": {
"h": 348.511,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49527,
"c": 0.17505,
"h": 16.6
},
"luminance": 0.10595
}Semantic roles & 50–950 ramp
primary
#AF223D
secondary
#65C8B5
accent
#EAC93D
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A