#AF2238#AF2238
#AF2238 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.175 H 18.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2238 |
|---|---|
| RGB | rgb(175, 34, 56) |
| HSL | hsl(351, 67%, 41%) |
| HSV | hsv(351, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 68%, 31.4%) |
| CIE-LAB | lab(38.81, 55.95, 23.95) |
| CIE-LCH | lch(38.81, 60.86, 23.17°) |
| OKLab | oklab(49.43% 0.1658 0.0564) |
| OKLCH | oklch(49.43% 0.175 18.8) |
| XYZ | xyz(18.9672, 10.5465, 4.7776) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.87
Rose Red
#BE013C
ΔE00 3.19
Lipstick Red
#C0022F
ΔE00 3.79
Cardinal
#C41E3A
ΔE00 4.12
Brown
#A52A2A
ΔE00 5.15
Ruby
#CA0147
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2238 #22AF99
analogous
#AF227E #AF2238 #AF5222
triadic
#AF2238 #38AF22 #2238AF
tetradic
#AF2238 #7EAF22 #22AF99 #5222AF
square
#AF2238 #7EAF22 #22AF99 #5222AF
split-complementary
#AF2238 #22AF52 #227EAF
monochromatic
#490E17 #7C1828 #AF2238 #D8364F #E2697C
Accessibility & contrast
On white
6.76
#AF2238 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AF2238 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2238
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2238 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4838
Deuteranopia (green-blind)
#706634
Tritanopia (blue-blind)
#C0002C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af2238; /* rgb */ color: rgb(175, 34, 56); /* oklch */ color: oklch(49.4% 0.175 18.8);
Tailwind
colors: {
custom: {
50: '#cf6c6e',
500: '#af2238',
950: '#000000',
},
}SCSS
$custom: #af2238; $custom-light: #cf6c6e; $custom-dark: #000000;
JSON
{
"hex": "#af2238",
"rgb": {
"r": 175,
"g": 34,
"b": 56
},
"hsl": {
"h": 350.638,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49432,
"c": 0.17508,
"h": 18.8
},
"luminance": 0.10544
}Semantic roles & 50–950 ramp
primary
#AF2238
secondary
#65C8B8
accent
#EACF3D
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150807
muted
#837A7A