#AF5162#AF5162
#AF5162 is a mid, vivid red. Relative luminance 0.159; OKLCH L 55.7% C 0.123 H 10.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5162 |
|---|---|
| RGB | rgb(175, 81, 98) |
| HSL | hsl(349, 37%, 50%) |
| HSV | hsv(349, 54%, 69%) |
| CMYK | cmyk(0%, 53.7%, 44%, 31.4%) |
| CIE-LAB | lab(46.82, 40.02, 8.79) |
| CIE-LCH | lch(46.82, 40.97, 12.39°) |
| OKLab | oklab(55.71% 0.1213 0.0229) |
| OKLCH | oklch(55.71% 0.123 10.7) |
| XYZ | xyz(22.8277, 15.8831, 13.4165) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 2.29
Light Maroon
#A24857
ΔE00 3.89
Light Burgundy
#A8415B
ΔE00 4.54
Deep Rose
#C74767
ΔE00 4.86
Dark Pink
#CB416B
ΔE00 6.16
Dusty Red
#B9484E
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5162 #51AF9E
analogous
#AF5191 #AF5162 #AF6F51
triadic
#AF5162 #62AF51 #5162AF
tetradic
#AF5162 #91AF51 #51AF9E #6F51AF
square
#AF5162 #91AF51 #51AF9E #6F51AF
split-complementary
#AF5162 #51AF6F #5191AF
monochromatic
#5C2A33 #853D4A #AF5162 #C27B88 #D6A5AE
Accessibility & contrast
On white
5.03
#AF5162 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#AF5162 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5162
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5162 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646362
Deuteranopia (green-blind)
#7C7660
Tritanopia (blue-blind)
#BD4657
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af5162; /* rgb */ color: rgb(175, 81, 98); /* oklch */ color: oklch(55.7% 0.123 10.7);
Tailwind
colors: {
custom: {
50: '#cb858e',
500: '#af5162',
950: '#000000',
},
}SCSS
$custom: #af5162; $custom-light: #cb858e; $custom-dark: #000000;
JSON
{
"hex": "#af5162",
"rgb": {
"r": 175,
"g": 81,
"b": 98
},
"hsl": {
"h": 349.149,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.55711,
"c": 0.12346,
"h": 10.7
},
"luminance": 0.15881
}Semantic roles & 50–950 ramp
primary
#AF5162
secondary
#99C3BB
accent
#CDB85B
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#140B0C
muted
#827C7D