#AF314C#AF314C
#AF314C is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.2% C 0.162 H 12.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AF314C |
|---|---|
| RGB | rgb(175, 49, 76) |
| HSL | hsl(347, 56%, 44%) |
| HSV | hsv(347, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 56.6%, 31.4%) |
| CIE-LAB | lab(40.95, 52.32, 14.21) |
| CIE-LCH | lch(40.95, 54.22, 15.19°) |
| OKLab | oklab(51.15% 0.1579 0.0355) |
| OKLCH | oklch(51.15% 0.162 12.7) |
| XYZ | xyz(20.0839, 11.8352, 8.0629) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.37
Rouge
#AB1239
ΔE00 4.80
Raspberry (survey)
#B00149
ΔE00 4.88
Rose Red
#BE013C
ΔE00 4.91
Light Maroon
#A24857
ΔE00 4.93
Purplish Red
#B0054B
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF314C #31AF94
analogous
#AF318B #AF314C #AF5531
triadic
#AF314C #4CAF31 #314CAF
tetradic
#AF314C #8BAF31 #31AF94 #5531AF
square
#AF314C #8BAF31 #31AF94 #5531AF
split-complementary
#AF314C #31AF55 #318BAF
monochromatic
#4F1622 #7F2437 #AF314C #CE4F6A #DB7F93
Accessibility & contrast
On white
6.24
#AF314C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#AF314C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF314C
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF314C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF314C | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51504C
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#BF113C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af314c; /* rgb */ color: rgb(175, 49, 76); /* oklch */ color: oklch(51.2% 0.162 12.7);
Tailwind
colors: {
custom: {
50: '#cd737d',
500: '#af314c',
950: '#000000',
},
}SCSS
$custom: #af314c; $custom-light: #cd737d; $custom-dark: #000000;
JSON
{
"hex": "#af314c",
"rgb": {
"r": 175,
"g": 49,
"b": 76
},
"hsl": {
"h": 347.143,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51151,
"c": 0.16189,
"h": 12.7
},
"luminance": 0.11832
}Semantic roles & 50–950 ramp
primary
#AF314C
secondary
#78C4B4
accent
#E0BF48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B