#AF3147#AF3147
#AF3147 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.162 H 15.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3147 |
|---|---|
| RGB | rgb(175, 49, 71) |
| HSL | hsl(350, 56%, 44%) |
| HSV | hsv(350, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 59.4%, 31.4%) |
| CIE-LAB | lab(40.85, 51.96, 17.20) |
| CIE-LCH | lch(40.85, 54.73, 18.31°) |
| OKLab | oklab(51.04% 0.1559 0.0423) |
| OKLCH | oklch(51.04% 0.162 15.2) |
| XYZ | xyz(19.9168, 11.7683, 7.1828) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 4.10
Rouge
#AB1239
ΔE00 4.13
Ruby
#CA0147
ΔE00 4.91
Cardinal
#C41E3A
ΔE00 5.41
Light Maroon
#A24857
ΔE00 5.48
Light Burgundy
#A8415B
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3147 #31AF99
analogous
#AF3186 #AF3147 #AF5A31
triadic
#AF3147 #47AF31 #3147AF
tetradic
#AF3147 #86AF31 #31AF99 #5A31AF
square
#AF3147 #86AF31 #31AF99 #5A31AF
split-complementary
#AF3147 #31AF5A #3186AF
monochromatic
#4F1620 #7F2434 #AF3147 #CE4F65 #DB7F8F
Accessibility & contrast
On white
6.26
#AF3147 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF3147 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3147
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3147 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525047
Deuteranopia (green-blind)
#726A44
Tritanopia (blue-blind)
#C00E3A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af3147; /* rgb */ color: rgb(175, 49, 71); /* oklch */ color: oklch(51.0% 0.162 15.2);
Tailwind
colors: {
custom: {
50: '#cd737a',
500: '#af3147',
950: '#000000',
},
}SCSS
$custom: #af3147; $custom-light: #cd737a; $custom-dark: #000000;
JSON
{
"hex": "#af3147",
"rgb": {
"r": 175,
"g": 49,
"b": 71
},
"hsl": {
"h": 349.524,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51036,
"c": 0.16158,
"h": 15.2
},
"luminance": 0.11766
}Semantic roles & 50–950 ramp
primary
#AF3147
secondary
#78C4B7
accent
#E0C548
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150909
muted
#837B7B