#AF223C#AF223C
#AF223C is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.175 H 17.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF223C |
|---|---|
| RGB | rgb(175, 34, 60) |
| HSL | hsl(349, 67%, 41%) |
| HSV | hsv(349, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 65.7%, 31.4%) |
| CIE-LAB | lab(38.88, 56.17, 21.53) |
| CIE-LCH | lch(38.88, 60.15, 20.97°) |
| OKLab | oklab(49.51% 0.1673 0.0514) |
| OKLCH | oklch(49.51% 0.175 17.1) |
| XYZ | xyz(19.0689, 10.5872, 5.3136) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.13
Rose Red
#BE013C
ΔE00 2.73
Cardinal
#C41E3A
ΔE00 4.58
Lipstick Red
#C0022F
ΔE00 4.70
Ruby
#CA0147
ΔE00 5.22
Cranberry
#9E003A
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF223C #22AF95
analogous
#AF2282 #AF223C #AF4E22
triadic
#AF223C #3CAF22 #223CAF
tetradic
#AF223C #82AF22 #22AF95 #4E22AF
square
#AF223C #82AF22 #22AF95 #4E22AF
split-complementary
#AF223C #22AF4E #2282AF
monochromatic
#490E19 #7C182A #AF223C #D83654 #E26980
Accessibility & contrast
On white
6.74
#AF223C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AF223C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF223C
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF223C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF223C | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C493C
Deuteranopia (green-blind)
#706638
Tritanopia (blue-blind)
#C0002E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af223c; /* rgb */ color: rgb(175, 34, 60); /* oklch */ color: oklch(49.5% 0.175 17.1);
Tailwind
colors: {
custom: {
50: '#cf6c71',
500: '#af223c',
950: '#000000',
},
}SCSS
$custom: #af223c; $custom-light: #cf6c71; $custom-dark: #000000;
JSON
{
"hex": "#af223c",
"rgb": {
"r": 175,
"g": 34,
"b": 60
},
"hsl": {
"h": 348.936,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49507,
"c": 0.17504,
"h": 17.1
},
"luminance": 0.10584
}Semantic roles & 50–950 ramp
primary
#AF223C
secondary
#65C8B6
accent
#EACA3D
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A