#AF2640#AF2640
#AF2640 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.172 H 16.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2640 |
|---|---|
| RGB | rgb(175, 38, 64) |
| HSL | hsl(349, 64%, 42%) |
| HSV | hsv(349, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 63.4%, 31.4%) |
| CIE-LAB | lab(39.37, 55.24, 19.64) |
| CIE-LCH | lch(39.37, 58.62, 19.57°) |
| OKLab | oklab(49.89% 0.1652 0.0475) |
| OKLCH | oklch(49.89% 0.172 16) |
| XYZ | xyz(19.2998, 10.8733, 5.9320) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.45
Rose Red
#BE013C
ΔE00 2.93
Ruby
#CA0147
ΔE00 4.87
Cardinal
#C41E3A
ΔE00 4.92
Lipstick Red
#C0022F
ΔE00 5.45
Raspberry (survey)
#B00149
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2640 #26AF95
analogous
#AF2685 #AF2640 #AF5126
triadic
#AF2640 #40AF26 #2640AF
tetradic
#AF2640 #85AF26 #26AF95 #5126AF
square
#AF2640 #85AF26 #26AF95 #5126AF
split-complementary
#AF2640 #26AF51 #2685AF
monochromatic
#4A101B #7D1B2E #AF2640 #D53D5A #E07085
Accessibility & contrast
On white
6.62
#AF2640 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AF2640 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2640
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2640 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2640 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4A40
Deuteranopia (green-blind)
#70673C
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2640; /* rgb */ color: rgb(175, 38, 64); /* oklch */ color: oklch(49.9% 0.172 16.0);
Tailwind
colors: {
custom: {
50: '#ce6e74',
500: '#af2640',
950: '#000000',
},
}SCSS
$custom: #af2640; $custom-light: #ce6e74; $custom-dark: #000000;
JSON
{
"hex": "#af2640",
"rgb": {
"r": 175,
"g": 38,
"b": 64
},
"hsl": {
"h": 348.613,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.49894,
"c": 0.17183,
"h": 16
},
"luminance": 0.1087
}Semantic roles & 50–950 ramp
primary
#AF2640
secondary
#6AC7B5
accent
#E7C840
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B