#AF2642#AF2642
#AF2642 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.172 H 15.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2642 |
|---|---|
| RGB | rgb(175, 38, 66) |
| HSL | hsl(348, 64%, 42%) |
| HSV | hsv(348, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 62.3%, 31.4%) |
| CIE-LAB | lab(39.41, 55.36, 18.43) |
| CIE-LCH | lch(39.41, 58.35, 18.41°) |
| OKLab | oklab(49.94% 0.1659 0.0448) |
| OKLCH | oklch(49.94% 0.172 15.1) |
| XYZ | xyz(19.3577, 10.8964, 6.2371) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.55
Rose Red
#BE013C
ΔE00 3.10
Ruby
#CA0147
ΔE00 4.72
Raspberry (survey)
#B00149
ΔE00 5.04
Purplish Red
#B0054B
ΔE00 5.34
Cardinal
#C41E3A
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2642 #26AF93
analogous
#AF2687 #AF2642 #AF4F26
triadic
#AF2642 #42AF26 #2642AF
tetradic
#AF2642 #87AF26 #26AF93 #4F26AF
square
#AF2642 #87AF26 #26AF93 #4F26AF
split-complementary
#AF2642 #26AF4F #2687AF
monochromatic
#4A101C #7D1B2F #AF2642 #D53D5C #E07087
Accessibility & contrast
On white
6.61
#AF2642 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AF2642 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2642
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2642 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2642 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4B42
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2642; /* rgb */ color: rgb(175, 38, 66); /* oklch */ color: oklch(49.9% 0.172 15.1);
Tailwind
colors: {
custom: {
50: '#ce6e76',
500: '#af2642',
950: '#000000',
},
}SCSS
$custom: #af2642; $custom-light: #ce6e76; $custom-dark: #000000;
JSON
{
"hex": "#af2642",
"rgb": {
"r": 175,
"g": 38,
"b": 66
},
"hsl": {
"h": 347.737,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.49936,
"c": 0.1719,
"h": 15.1
},
"luminance": 0.10894
}Semantic roles & 50–950 ramp
primary
#AF2642
secondary
#6AC7B4
accent
#E7C540
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B