#AF2440#AF2440
#AF2440 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.7% C 0.174 H 15.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2440 |
|---|---|
| RGB | rgb(175, 36, 64) |
| HSL | hsl(348, 66%, 41%) |
| HSV | hsv(348, 79%, 69%) |
| CMYK | cmyk(0%, 79.4%, 63.4%, 31.4%) |
| CIE-LAB | lab(39.15, 55.83, 19.36) |
| CIE-LCH | lch(39.15, 59.10, 19.13°) |
| OKLab | oklab(49.74% 0.1671 0.0468) |
| OKLCH | oklch(49.74% 0.174 15.7) |
| XYZ | xyz(19.2375, 10.7488, 5.9113) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.23
Rose Red
#BE013C
ΔE00 2.88
Ruby
#CA0147
ΔE00 4.83
Cardinal
#C41E3A
ΔE00 5.12
Raspberry (survey)
#B00149
ΔE00 5.29
Lipstick Red
#C0022F
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2440 #24AF93
analogous
#AF2486 #AF2440 #AF4E24
triadic
#AF2440 #40AF24 #2440AF
tetradic
#AF2440 #86AF24 #24AF93 #4E24AF
square
#AF2440 #86AF24 #24AF93 #4E24AF
split-complementary
#AF2440 #24AF4E #2486AF
monochromatic
#490F1B #7C1A2D #AF2440 #D63A59 #E16D84
Accessibility & contrast
On white
6.67
#AF2440 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AF2440 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2440
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2440 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2440 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4A40
Deuteranopia (green-blind)
#70673C
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2440; /* rgb */ color: rgb(175, 36, 64); /* oklch */ color: oklch(49.7% 0.174 15.7);
Tailwind
colors: {
custom: {
50: '#ce6d74',
500: '#af2440',
950: '#000000',
},
}SCSS
$custom: #af2440; $custom-light: #ce6d74; $custom-dark: #000000;
JSON
{
"hex": "#af2440",
"rgb": {
"r": 175,
"g": 36,
"b": 64
},
"hsl": {
"h": 347.914,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.49737,
"c": 0.17351,
"h": 15.7
},
"luminance": 0.10746
}Semantic roles & 50–950 ramp
primary
#AF2440
secondary
#68C7B4
accent
#E9C73F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B