#AF2340#AF2340
#AF2340 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.7% C 0.174 H 15.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2340 |
|---|---|
| RGB | rgb(175, 35, 64) |
| HSL | hsl(348, 67%, 41%) |
| HSV | hsv(348, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 63.4%, 31.4%) |
| CIE-LAB | lab(39.05, 56.12, 19.23) |
| CIE-LCH | lch(39.05, 59.33, 18.91°) |
| OKLab | oklab(49.66% 0.168 0.0465) |
| OKLCH | oklch(49.66% 0.174 15.5) |
| XYZ | xyz(19.2077, 10.6891, 5.9013) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.13
Rose Red
#BE013C
ΔE00 2.87
Ruby
#CA0147
ΔE00 4.81
Raspberry (survey)
#B00149
ΔE00 5.15
Cardinal
#C41E3A
ΔE00 5.22
Purplish Red
#B0054B
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2340 #23AF92
analogous
#AF2386 #AF2340 #AF4C23
triadic
#AF2340 #40AF23 #2340AF
tetradic
#AF2340 #86AF23 #23AF92 #4C23AF
square
#AF2340 #86AF23 #23AF92 #4C23AF
split-complementary
#AF2340 #23AF4C #2386AF
monochromatic
#490F1B #7C192D #AF2340 #D73859 #E16B84
Accessibility & contrast
On white
6.69
#AF2340 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AF2340 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2340
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2340 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2340 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4940
Deuteranopia (green-blind)
#6F663C
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2340; /* rgb */ color: rgb(175, 35, 64); /* oklch */ color: oklch(49.7% 0.174 15.5);
Tailwind
colors: {
custom: {
50: '#ce6c74',
500: '#af2340',
950: '#000000',
},
}SCSS
$custom: #af2340; $custom-light: #ce6c74; $custom-dark: #000000;
JSON
{
"hex": "#af2340",
"rgb": {
"r": 175,
"g": 35,
"b": 64
},
"hsl": {
"h": 347.571,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.49661,
"c": 0.17433,
"h": 15.5
},
"luminance": 0.10686
}Semantic roles & 50–950 ramp
primary
#AF2340
secondary
#66C7B3
accent
#EAC63E
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B