#AF223B#AF223B
#AF223B is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.175 H 17.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF223B |
|---|---|
| RGB | rgb(175, 34, 59) |
| HSL | hsl(349, 67%, 41%) |
| HSV | hsv(349, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 66.3%, 31.4%) |
| CIE-LAB | lab(38.86, 56.11, 22.13) |
| CIE-LCH | lch(38.86, 60.32, 21.53°) |
| OKLab | oklab(49.49% 0.1669 0.0526) |
| OKLCH | oklch(49.49% 0.175 17.5) |
| XYZ | xyz(19.0427, 10.5767, 5.1756) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.27
Rose Red
#BE013C
ΔE00 2.80
Cardinal
#C41E3A
ΔE00 4.44
Lipstick Red
#C0022F
ΔE00 4.45
Ruby
#CA0147
ΔE00 5.37
Brown
#A52A2A
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF223B #22AF96
analogous
#AF2281 #AF223B #AF4F22
triadic
#AF223B #3BAF22 #223BAF
tetradic
#AF223B #81AF22 #22AF96 #4F22AF
square
#AF223B #81AF22 #22AF96 #4F22AF
split-complementary
#AF223B #22AF4F #2281AF
monochromatic
#490E18 #7C182A #AF223B #D83653 #E2697F
Accessibility & contrast
On white
6.74
#AF223B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AF223B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF223B
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF223B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF223B | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C493B
Deuteranopia (green-blind)
#706637
Tritanopia (blue-blind)
#C0002D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af223b; /* rgb */ color: rgb(175, 34, 59); /* oklch */ color: oklch(49.5% 0.175 17.5);
Tailwind
colors: {
custom: {
50: '#cf6c70',
500: '#af223b',
950: '#000000',
},
}SCSS
$custom: #af223b; $custom-light: #cf6c70; $custom-dark: #000000;
JSON
{
"hex": "#af223b",
"rgb": {
"r": 175,
"g": 34,
"b": 59
},
"hsl": {
"h": 349.362,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49488,
"c": 0.17504,
"h": 17.5
},
"luminance": 0.10574
}Semantic roles & 50–950 ramp
primary
#AF223B
secondary
#65C8B6
accent
#EACC3D
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A