#AF2242#AF2242
#AF2242 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.175 H 14.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2242 |
|---|---|
| RGB | rgb(175, 34, 66) |
| HSL | hsl(346, 67%, 41%) |
| HSV | hsv(346, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 62.3%, 31.4%) |
| CIE-LAB | lab(38.99, 56.53, 17.88) |
| CIE-LCH | lch(38.99, 59.29, 17.56°) |
| OKLab | oklab(49.63% 0.1697 0.0436) |
| OKLCH | oklch(49.63% 0.175 14.4) |
| XYZ | xyz(19.2366, 10.6543, 6.1968) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.29
Rose Red
#BE013C
ΔE00 3.13
Raspberry (survey)
#B00149
ΔE00 4.43
Ruby
#CA0147
ΔE00 4.72
Purplish Red
#B0054B
ΔE00 4.75
Cranberry
#9E003A
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2242 #22AF8F
analogous
#AF2288 #AF2242 #AF4822
triadic
#AF2242 #42AF22 #2242AF
tetradic
#AF2242 #88AF22 #22AF8F #4822AF
square
#AF2242 #88AF22 #22AF8F #4822AF
split-complementary
#AF2242 #22AF48 #2288AF
monochromatic
#490E1B #7C182F #AF2242 #D8365B #E26985
Accessibility & contrast
On white
6.71
#AF2242 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AF2242 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2242
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2242 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4942
Deuteranopia (green-blind)
#6F663E
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2242; /* rgb */ color: rgb(175, 34, 66); /* oklch */ color: oklch(49.6% 0.175 14.4);
Tailwind
colors: {
custom: {
50: '#ce6c76',
500: '#af2242',
950: '#000000',
},
}SCSS
$custom: #af2242; $custom-light: #ce6c76; $custom-dark: #000000;
JSON
{
"hex": "#af2242",
"rgb": {
"r": 175,
"g": 34,
"b": 66
},
"hsl": {
"h": 346.383,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.4963,
"c": 0.17521,
"h": 14.4
},
"luminance": 0.10651
}Semantic roles & 50–950 ramp
primary
#AF2242
secondary
#65C8B1
accent
#EAC33D
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B