#AF314F#AF314F
#AF314F is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.162 H 11.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AF314F |
|---|---|
| RGB | rgb(175, 49, 79) |
| HSL | hsl(346, 56%, 44%) |
| HSV | hsv(346, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 54.9%, 31.4%) |
| CIE-LAB | lab(41.02, 52.55, 12.42) |
| CIE-LCH | lch(41.02, 54.00, 13.29°) |
| OKLab | oklab(51.22% 0.1591 0.0314) |
| OKLCH | oklch(51.22% 0.162 11.1) |
| XYZ | xyz(20.1906, 11.8779, 8.6251) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.73
Purplish Red
#B0054B
ΔE00 4.48
Raspberry (survey)
#B00149
ΔE00 4.50
Light Maroon
#A24857
ΔE00 4.82
Dark Rose
#B5485D
ΔE00 5.03
Ruby
#CA0147
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF314F #31AF91
analogous
#AF318E #AF314F #AF5231
triadic
#AF314F #4FAF31 #314FAF
tetradic
#AF314F #8EAF31 #31AF91 #5231AF
square
#AF314F #8EAF31 #31AF91 #5231AF
split-complementary
#AF314F #31AF52 #318EAF
monochromatic
#4F1624 #7F2439 #AF314F #CE4F6D #DB7F95
Accessibility & contrast
On white
6.22
#AF314F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AF314F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF314F
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF314F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF314F | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51504F
Deuteranopia (green-blind)
#716A4C
Tritanopia (blue-blind)
#BF133D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af314f; /* rgb */ color: rgb(175, 49, 79); /* oklch */ color: oklch(51.2% 0.162 11.1);
Tailwind
colors: {
custom: {
50: '#cd7380',
500: '#af314f',
950: '#000000',
},
}SCSS
$custom: #af314f; $custom-light: #cd7380; $custom-dark: #000000;
JSON
{
"hex": "#af314f",
"rgb": {
"r": 175,
"g": 49,
"b": 79
},
"hsl": {
"h": 345.714,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51224,
"c": 0.16218,
"h": 11.1
},
"luminance": 0.11875
}Semantic roles & 50–950 ramp
primary
#AF314F
secondary
#78C4B2
accent
#E0BC48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C