#AF314B#AF314B
#AF314B is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.162 H 13.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AF314B |
|---|---|
| RGB | rgb(175, 49, 75) |
| HSL | hsl(348, 56%, 44%) |
| HSV | hsv(348, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 57.1%, 31.4%) |
| CIE-LAB | lab(40.93, 52.25, 14.81) |
| CIE-LCH | lch(40.93, 54.31, 15.82°) |
| OKLab | oklab(51.13% 0.1575 0.0369) |
| OKLCH | oklch(51.13% 0.162 13.2) |
| XYZ | xyz(20.0494, 11.8214, 7.8813) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.61
Rouge
#AB1239
ΔE00 4.62
Rose Red
#BE013C
ΔE00 4.71
Ruby
#CA0147
ΔE00 4.95
Light Maroon
#A24857
ΔE00 5.01
Raspberry (survey)
#B00149
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF314B #31AF95
analogous
#AF318A #AF314B #AF5631
triadic
#AF314B #4BAF31 #314BAF
tetradic
#AF314B #8AAF31 #31AF95 #5631AF
square
#AF314B #8AAF31 #31AF95 #5631AF
split-complementary
#AF314B #31AF56 #318AAF
monochromatic
#4F1622 #7F2437 #AF314B #CE4F69 #DB7F92
Accessibility & contrast
On white
6.24
#AF314B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF314B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF314B
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF314B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF314B | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51504B
Deuteranopia (green-blind)
#726A48
Tritanopia (blue-blind)
#BF103C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af314b; /* rgb */ color: rgb(175, 49, 75); /* oklch */ color: oklch(51.1% 0.162 13.2);
Tailwind
colors: {
custom: {
50: '#cd737d',
500: '#af314b',
950: '#000000',
},
}SCSS
$custom: #af314b; $custom-light: #cd737d; $custom-dark: #000000;
JSON
{
"hex": "#af314b",
"rgb": {
"r": 175,
"g": 49,
"b": 75
},
"hsl": {
"h": 347.619,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51127,
"c": 0.1618,
"h": 13.2
},
"luminance": 0.11819
}Semantic roles & 50–950 ramp
primary
#AF314B
secondary
#78C4B4
accent
#E0C048
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B