#AF223E#AF223E
#AF223E is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.175 H 16.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AF223E |
|---|---|
| RGB | rgb(175, 34, 62) |
| HSL | hsl(348, 67%, 41%) |
| HSV | hsv(348, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 64.6%, 31.4%) |
| CIE-LAB | lab(38.91, 56.29, 20.31) |
| CIE-LCH | lch(38.91, 59.84, 19.84°) |
| OKLab | oklab(49.55% 0.1681 0.0488) |
| OKLCH | oklch(49.55% 0.175 16.2) |
| XYZ | xyz(19.1228, 10.6087, 5.5973) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 1.98
Rose Red
#BE013C
ΔE00 2.72
Cardinal
#C41E3A
ΔE00 4.93
Ruby
#CA0147
ΔE00 4.98
Lipstick Red
#C0022F
ΔE00 5.21
Raspberry (survey)
#B00149
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF223E #22AF93
analogous
#AF2284 #AF223E #AF4C22
triadic
#AF223E #3EAF22 #223EAF
tetradic
#AF223E #84AF22 #22AF93 #4C22AF
square
#AF223E #84AF22 #22AF93 #4C22AF
split-complementary
#AF223E #22AF4C #2284AF
monochromatic
#490E1A #7C182C #AF223E #D83656 #E26981
Accessibility & contrast
On white
6.73
#AF223E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AF223E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF223E
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF223E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF223E | 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)
#4C493E
Deuteranopia (green-blind)
#6F663A
Tritanopia (blue-blind)
#C0002E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af223e; /* rgb */ color: rgb(175, 34, 62); /* oklch */ color: oklch(49.5% 0.175 16.2);
Tailwind
colors: {
custom: {
50: '#cf6c73',
500: '#af223e',
950: '#000000',
},
}SCSS
$custom: #af223e; $custom-light: #cf6c73; $custom-dark: #000000;
JSON
{
"hex": "#af223e",
"rgb": {
"r": 175,
"g": 34,
"b": 62
},
"hsl": {
"h": 348.085,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49547,
"c": 0.17506,
"h": 16.2
},
"luminance": 0.10606
}Semantic roles & 50–950 ramp
primary
#AF223E
secondary
#65C8B4
accent
#EAC83D
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150808
muted
#837A7B