#AF2847#AF2847
#AF2847 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.170 H 13.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2847 |
|---|---|
| RGB | rgb(175, 40, 71) |
| HSL | hsl(346, 63%, 42%) |
| HSV | hsv(346, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 59.4%, 31.4%) |
| CIE-LAB | lab(39.73, 55.07, 15.70) |
| CIE-LCH | lch(39.73, 57.26, 15.91°) |
| OKLab | oklab(50.21% 0.1659 0.0388) |
| OKLCH | oklch(50.21% 0.17 13.2) |
| XYZ | xyz(19.5773, 11.0893, 7.0696) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.44
Rose Red
#BE013C
ΔE00 3.94
Raspberry (survey)
#B00149
ΔE00 4.11
Purplish Red
#B0054B
ΔE00 4.31
Ruby
#CA0147
ΔE00 4.71
Light Burgundy
#A8415B
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2847 #28AF90
analogous
#AF288B #AF2847 #AF4C28
triadic
#AF2847 #47AF28 #2847AF
tetradic
#AF2847 #8BAF28 #28AF90 #4C28AF
square
#AF2847 #8BAF28 #28AF90 #4C28AF
split-complementary
#AF2847 #28AF4C #288BAF
monochromatic
#4B111F #7D1D33 #AF2847 #D44162 #DF738B
Accessibility & contrast
On white
6.53
#AF2847 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AF2847 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2847
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2847 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4C47
Deuteranopia (green-blind)
#706843
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2847; /* rgb */ color: rgb(175, 40, 71); /* oklch */ color: oklch(50.2% 0.170 13.2);
Tailwind
colors: {
custom: {
50: '#ce6f79',
500: '#af2847',
950: '#000000',
},
}SCSS
$custom: #af2847; $custom-light: #ce6f79; $custom-dark: #000000;
JSON
{
"hex": "#af2847",
"rgb": {
"r": 175,
"g": 40,
"b": 71
},
"hsl": {
"h": 346.222,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.5021,
"c": 0.17041,
"h": 13.2
},
"luminance": 0.11086
}Semantic roles & 50–950 ramp
primary
#AF2847
secondary
#6DC6B2
accent
#E6C042
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B