#AF394F#AF394F
#AF394F is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.1% C 0.153 H 13.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AF394F |
|---|---|
| RGB | rgb(175, 57, 79) |
| HSL | hsl(349, 51%, 45%) |
| HSV | hsv(349, 67%, 69%) |
| CMYK | cmyk(0%, 67.4%, 54.9%, 31.4%) |
| CIE-LAB | lab(42.17, 49.41, 13.99) |
| CIE-LCH | lch(42.17, 51.35, 15.81°) |
| OKLab | oklab(52.08% 0.1491 0.0351) |
| OKLCH | oklch(52.08% 0.153 13.3) |
| XYZ | xyz(20.5554, 12.6075, 8.7467) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.84
Light Maroon
#A24857
ΔE00 3.91
Dark Rose
#B5485D
ΔE00 3.98
Ruby
#CA0147
ΔE00 5.54
Dusty Red
#B9484E
ΔE00 5.70
Rose Red
#BE013C
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF394F #39AF99
analogous
#AF398A #AF394F #AF5E39
triadic
#AF394F #4FAF39 #394FAF
tetradic
#AF394F #8AAF39 #39AF99 #5E39AF
square
#AF394F #8AAF39 #39AF99 #5E39AF
split-complementary
#AF394F #39AF5E #398AAF
monochromatic
#531B25 #812A3A #AF394F #CA5B70 #D98A98
Accessibility & contrast
On white
5.96
#AF394F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#AF394F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF394F
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF394F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF394F | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#56544F
Deuteranopia (green-blind)
#746C4C
Tritanopia (blue-blind)
#BF2242
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #af394f; /* rgb */ color: rgb(175, 57, 79); /* oklch */ color: oklch(52.1% 0.153 13.3);
Tailwind
colors: {
custom: {
50: '#cd7780',
500: '#af394f',
950: '#000000',
},
}SCSS
$custom: #af394f; $custom-light: #cd7780; $custom-dark: #000000;
JSON
{
"hex": "#af394f",
"rgb": {
"r": 175,
"g": 57,
"b": 79
},
"hsl": {
"h": 348.814,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.52075,
"c": 0.15314,
"h": 13.3
},
"luminance": 0.12605
}Semantic roles & 50–950 ramp
primary
#AF394F
secondary
#81C3B7
accent
#DAC04D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C