#AF223F#AF223F
#AF223F is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.6% C 0.175 H 15.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AF223F |
|---|---|
| RGB | rgb(175, 34, 63) |
| HSL | hsl(348, 67%, 41%) |
| HSV | hsv(348, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 64%, 31.4%) |
| CIE-LAB | lab(38.93, 56.34, 19.71) |
| CIE-LCH | lch(38.93, 59.69, 19.28°) |
| OKLab | oklab(49.57% 0.1685 0.0475) |
| OKLCH | oklch(49.57% 0.175 15.7) |
| XYZ | xyz(19.1505, 10.6198, 5.7431) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 1.99
Rose Red
#BE013C
ΔE00 2.77
Ruby
#CA0147
ΔE00 4.88
Cardinal
#C41E3A
ΔE00 5.12
Raspberry (survey)
#B00149
ΔE00 5.30
Lipstick Red
#C0022F
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF223F #22AF92
analogous
#AF2285 #AF223F #AF4C22
triadic
#AF223F #3FAF22 #223FAF
tetradic
#AF223F #85AF22 #22AF92 #4C22AF
square
#AF223F #85AF22 #22AF92 #4C22AF
split-complementary
#AF223F #22AF4C #2285AF
monochromatic
#490E1A #7C182D #AF223F #D83657 #E26982
Accessibility & contrast
On white
6.72
#AF223F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AF223F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF223F
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF223F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF223F | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C493F
Deuteranopia (green-blind)
#6F663B
Tritanopia (blue-blind)
#C0002F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af223f; /* rgb */ color: rgb(175, 34, 63); /* oklch */ color: oklch(49.6% 0.175 15.7);
Tailwind
colors: {
custom: {
50: '#ce6c73',
500: '#af223f',
950: '#000000',
},
}SCSS
$custom: #af223f; $custom-light: #ce6c73; $custom-dark: #000000;
JSON
{
"hex": "#af223f",
"rgb": {
"r": 175,
"g": 34,
"b": 63
},
"hsl": {
"h": 347.66,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49567,
"c": 0.17509,
"h": 15.7
},
"luminance": 0.10617
}Semantic roles & 50–950 ramp
primary
#AF223F
secondary
#65C8B3
accent
#EAC73D
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B