#AF314A#AF314A
#AF314A is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.162 H 13.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AF314A |
|---|---|
| RGB | rgb(175, 49, 74) |
| HSL | hsl(348, 56%, 44%) |
| HSV | hsv(348, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 57.7%, 31.4%) |
| CIE-LAB | lab(40.91, 52.17, 15.40) |
| CIE-LCH | lch(40.91, 54.40, 16.45°) |
| OKLab | oklab(51.1% 0.1571 0.0383) |
| OKLCH | oklch(51.1% 0.162 13.7) |
| XYZ | xyz(20.0155, 11.8078, 7.7024) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.47
Rose Red
#BE013C
ΔE00 4.53
Light Burgundy
#A8415B
ΔE00 4.86
Ruby
#CA0147
ΔE00 4.91
Light Maroon
#A24857
ΔE00 5.10
Raspberry (survey)
#B00149
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF314A #31AF96
analogous
#AF3189 #AF314A #AF5731
triadic
#AF314A #4AAF31 #314AAF
tetradic
#AF314A #89AF31 #31AF96 #5731AF
square
#AF314A #89AF31 #31AF96 #5731AF
split-complementary
#AF314A #31AF57 #3189AF
monochromatic
#4F1622 #7F2436 #AF314A #CE4F68 #DB7F91
Accessibility & contrast
On white
6.25
#AF314A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF314A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF314A
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF314A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF314A | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52504A
Deuteranopia (green-blind)
#726A47
Tritanopia (blue-blind)
#BF103B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af314a; /* rgb */ color: rgb(175, 49, 74); /* oklch */ color: oklch(51.1% 0.162 13.7);
Tailwind
colors: {
custom: {
50: '#cd737c',
500: '#af314a',
950: '#000000',
},
}SCSS
$custom: #af314a; $custom-light: #cd737c; $custom-dark: #000000;
JSON
{
"hex": "#af314a",
"rgb": {
"r": 175,
"g": 49,
"b": 74
},
"hsl": {
"h": 348.095,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51104,
"c": 0.16173,
"h": 13.7
},
"luminance": 0.11805
}Semantic roles & 50–950 ramp
primary
#AF314A
secondary
#78C4B5
accent
#E0C248
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B