#AF4157#AF4157
#AF4157 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.2% C 0.144 H 11.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4157 |
|---|---|
| RGB | rgb(175, 65, 87) |
| HSL | hsl(348, 46%, 47%) |
| HSV | hsv(348, 63%, 69%) |
| CMYK | cmyk(0%, 62.9%, 50.3%, 31.4%) |
| CIE-LAB | lab(43.63, 46.63, 11.05) |
| CIE-LCH | lch(43.63, 47.92, 13.34°) |
| OKLab | oklab(53.23% 0.1412 0.0283) |
| OKLCH | oklch(53.23% 0.144 11.3) |
| XYZ | xyz(21.2915, 13.5853, 10.5160) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 2.22
Light Burgundy
#A8415B
ΔE00 2.46
Light Maroon
#A24857
ΔE00 2.83
Deep Rose
#C74767
ΔE00 5.79
Dusty Red
#B9484E
ΔE00 5.91
Dark Pink
#CB416B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4157 #41AF99
analogous
#AF418E #AF4157 #AF6241
triadic
#AF4157 #57AF41 #4157AF
tetradic
#AF4157 #8EAF41 #41AF99 #6241AF
square
#AF4157 #8EAF41 #41AF99 #6241AF
split-complementary
#AF4157 #41AF62 #418EAF
monochromatic
#56202B #823041 #AF4157 #C6677A #D793A1
Accessibility & contrast
On white
5.65
#AF4157 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#AF4157 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4157
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4157 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5957
Deuteranopia (green-blind)
#766F54
Tritanopia (blue-blind)
#BE3049
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #af4157; /* rgb */ color: rgb(175, 65, 87); /* oklch */ color: oklch(53.2% 0.144 11.3);
Tailwind
colors: {
custom: {
50: '#cc7b86',
500: '#af4157',
950: '#000000',
},
}SCSS
$custom: #af4157; $custom-light: #cc7b86; $custom-dark: #000000;
JSON
{
"hex": "#af4157",
"rgb": {
"r": 175,
"g": 65,
"b": 87
},
"hsl": {
"h": 348,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.5323,
"c": 0.14401,
"h": 11.3
},
"luminance": 0.13583
}Semantic roles & 50–950 ramp
primary
#AF4157
secondary
#89C2B7
accent
#D5BB52
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#140A0B
muted
#837C7C