#AF4151#AF4151
#AF4151 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.1% C 0.144 H 14.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4151 |
|---|---|
| RGB | rgb(175, 65, 81) |
| HSL | hsl(351, 46%, 47%) |
| HSV | hsv(351, 63%, 69%) |
| CMYK | cmyk(0%, 62.9%, 53.7%, 31.4%) |
| CIE-LAB | lab(43.49, 46.10, 14.57) |
| CIE-LCH | lch(43.49, 48.35, 17.54°) |
| OKLab | oklab(53.08% 0.1388 0.0366) |
| OKLCH | oklch(53.08% 0.144 14.8) |
| XYZ | xyz(21.0565, 13.4913, 9.2782) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 3.15
Light Maroon
#A24857
ΔE00 3.37
Dusty Red
#B9484E
ΔE00 4.25
Light Burgundy
#A8415B
ΔE00 4.27
Ruby
#CA0147
ΔE00 6.43
Rose Red
#BE013C
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4151 #41AF9F
analogous
#AF4188 #AF4151 #AF6841
triadic
#AF4151 #51AF41 #4151AF
tetradic
#AF4151 #88AF41 #41AF9F #6841AF
square
#AF4151 #88AF41 #41AF9F #6841AF
split-complementary
#AF4151 #41AF68 #4188AF
monochromatic
#562028 #82303C #AF4151 #C66775 #D7939D
Accessibility & contrast
On white
5.68
#AF4151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#AF4151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4151
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4151 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5951
Deuteranopia (green-blind)
#776F4E
Tritanopia (blue-blind)
#BF2E47
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #af4151; /* rgb */ color: rgb(175, 65, 81); /* oklch */ color: oklch(53.1% 0.144 14.8);
Tailwind
colors: {
custom: {
50: '#cc7b81',
500: '#af4151',
950: '#000000',
},
}SCSS
$custom: #af4151; $custom-light: #cc7b81; $custom-dark: #000000;
JSON
{
"hex": "#af4151",
"rgb": {
"r": 175,
"g": 65,
"b": 81
},
"hsl": {
"h": 351.273,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.53082,
"c": 0.14355,
"h": 14.8
},
"luminance": 0.13489
}Semantic roles & 50–950 ramp
primary
#AF4151
secondary
#89C2BA
accent
#D5C252
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C