#AF1F41#AF1F41
#AF1F41 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.177 H 14.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AF1F41 |
|---|---|
| RGB | rgb(175, 31, 65) |
| HSL | hsl(346, 70%, 40%) |
| HSV | hsv(346, 82%, 69%) |
| CMYK | cmyk(0%, 82.3%, 62.9%, 31.4%) |
| CIE-LAB | lab(38.69, 57.27, 18.12) |
| CIE-LCH | lch(38.69, 60.07, 17.55°) |
| OKLab | oklab(49.4% 0.1719 0.044) |
| OKLCH | oklch(49.4% 0.177 14.4) |
| XYZ | xyz(19.1254, 10.4785, 6.0155) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.01
Rose Red
#BE013C
ΔE00 3.05
Raspberry (survey)
#B00149
ΔE00 4.31
Purplish Red
#B0054B
ΔE00 4.66
Ruby
#CA0147
ΔE00 4.77
Cranberry
#9E003A
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF1F41 #1FAF8D
analogous
#AF1F89 #AF1F41 #AF451F
triadic
#AF1F41 #41AF1F #1F41AF
tetradic
#AF1F41 #89AF1F #1FAF8D #451FAF
square
#AF1F41 #89AF1F #1FAF8D #451FAF
split-complementary
#AF1F41 #1FAF45 #1F89AF
monochromatic
#470D1A #7B162E #AF1F41 #DA3159 #E46583
Accessibility & contrast
On white
6.78
#AF1F41 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AF1F41 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF1F41
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF1F41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF1F41 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4841
Deuteranopia (green-blind)
#6E663D
Tritanopia (blue-blind)
#C0002E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af1f41; /* rgb */ color: rgb(175, 31, 65); /* oklch */ color: oklch(49.4% 0.177 14.4);
Tailwind
colors: {
custom: {
50: '#ce6b75',
500: '#af1f41',
950: '#000000',
},
}SCSS
$custom: #af1f41; $custom-light: #ce6b75; $custom-dark: #000000;
JSON
{
"hex": "#af1f41",
"rgb": {
"r": 175,
"g": 31,
"b": 65
},
"hsl": {
"h": 345.833,
"s": 69.903,
"l": 40.392
},
"oklch": {
"l": 0.49399,
"c": 0.17746,
"h": 14.4
},
"luminance": 0.10476
}Semantic roles & 50–950 ramp
primary
#AF1F41
secondary
#61C9B0
accent
#EDC33B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B