#AF314E#AF314E
#AF314E is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.162 H 11.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AF314E |
|---|---|
| RGB | rgb(175, 49, 78) |
| HSL | hsl(346, 56%, 44%) |
| HSV | hsv(346, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 55.4%, 31.4%) |
| CIE-LAB | lab(41.00, 52.48, 13.01) |
| CIE-LCH | lch(41.00, 54.07, 13.93°) |
| OKLab | oklab(51.2% 0.1587 0.0328) |
| OKLCH | oklch(51.2% 0.162 11.7) |
| XYZ | xyz(20.1545, 11.8634, 8.4348) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.93
Raspberry (survey)
#B00149
ΔE00 4.61
Purplish Red
#B0054B
ΔE00 4.62
Light Maroon
#A24857
ΔE00 4.84
Dark Rose
#B5485D
ΔE00 5.07
Rouge
#AB1239
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF314E #31AF92
analogous
#AF318D #AF314E #AF5331
triadic
#AF314E #4EAF31 #314EAF
tetradic
#AF314E #8DAF31 #31AF92 #5331AF
square
#AF314E #8DAF31 #31AF92 #5331AF
split-complementary
#AF314E #31AF53 #318DAF
monochromatic
#4F1623 #7F2439 #AF314E #CE4F6C #DB7F94
Accessibility & contrast
On white
6.23
#AF314E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#AF314E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF314E
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF314E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF314E | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51504E
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#BF123D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af314e; /* rgb */ color: rgb(175, 49, 78); /* oklch */ color: oklch(51.2% 0.162 11.7);
Tailwind
colors: {
custom: {
50: '#cd737f',
500: '#af314e',
950: '#000000',
},
}SCSS
$custom: #af314e; $custom-light: #cd737f; $custom-dark: #000000;
JSON
{
"hex": "#af314e",
"rgb": {
"r": 175,
"g": 49,
"b": 78
},
"hsl": {
"h": 346.19,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51199,
"c": 0.16207,
"h": 11.7
},
"luminance": 0.11861
}Semantic roles & 50–950 ramp
primary
#AF314E
secondary
#78C4B3
accent
#E0BD48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C