#AF1C40#AF1C40
#AF1C40 is a mid, vivid red. Relative luminance 0.103; OKLCH L 49.2% C 0.180 H 14.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AF1C40 |
|---|---|
| RGB | rgb(175, 28, 64) |
| HSL | hsl(345, 72%, 40%) |
| HSV | hsv(345, 84%, 69%) |
| CMYK | cmyk(0%, 84%, 63.4%, 31.4%) |
| CIE-LAB | lab(38.41, 57.95, 18.38) |
| CIE-LCH | lch(38.41, 60.80, 17.60°) |
| OKLab | oklab(49.19% 0.1739 0.0446) |
| OKLCH | oklch(49.19% 0.18 14.4) |
| XYZ | xyz(19.0219, 10.3176, 5.8394) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 1.75
Rose Red
#BE013C
ΔE00 3.00
Raspberry (survey)
#B00149
ΔE00 4.25
Purplish Red
#B0054B
ΔE00 4.62
Cranberry
#9E003A
ΔE00 4.81
Ruby
#CA0147
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF1C40 #1CAF8B
analogous
#AF1C8A #AF1C40 #AF411C
triadic
#AF1C40 #40AF1C #1C40AF
tetradic
#AF1C40 #8AAF1C #1CAF8B #411CAF
square
#AF1C40 #8AAF1C #1CAF8B #411CAF
split-complementary
#AF1C40 #1CAF41 #1C8AAF
monochromatic
#450B19 #7A142D #AF1C40 #DD2B57 #E66081
Accessibility & contrast
On white
6.86
#AF1C40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#AF1C40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF1C40
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF1C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF1C40 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494740
Deuteranopia (green-blind)
#6E653C
Tritanopia (blue-blind)
#C0002C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #af1c40; /* rgb */ color: rgb(175, 28, 64); /* oklch */ color: oklch(49.2% 0.180 14.4);
Tailwind
colors: {
custom: {
50: '#cf6a74',
500: '#af1c40',
950: '#000000',
},
}SCSS
$custom: #af1c40; $custom-light: #cf6a74; $custom-dark: #000000;
JSON
{
"hex": "#af1c40",
"rgb": {
"r": 175,
"g": 28,
"b": 64
},
"hsl": {
"h": 345.306,
"s": 72.414,
"l": 39.804
},
"oklch": {
"l": 0.49185,
"c": 0.17954,
"h": 14.4
},
"luminance": 0.10315
}Semantic roles & 50–950 ramp
primary
#AF1C40
secondary
#5DCAAF
accent
#EFC239
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150708
muted
#837A7B