#AF5166#AF5166
#AF5166 is a mid, vivid red. Relative luminance 0.160; OKLCH L 55.8% C 0.124 H 8.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5166 |
|---|---|
| RGB | rgb(175, 81, 102) |
| HSL | hsl(347, 37%, 50%) |
| HSV | hsv(347, 54%, 69%) |
| CMYK | cmyk(0%, 53.7%, 41.7%, 31.4%) |
| CIE-LAB | lab(46.92, 40.46, 6.50) |
| CIE-LCH | lch(46.92, 40.98, 9.13°) |
| OKLab | oklab(55.82% 0.1229 0.0172) |
| OKLCH | oklch(55.82% 0.124 8) |
| XYZ | xyz(23.0213, 15.9605, 14.4361) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 2.91
Light Burgundy
#A8415B
ΔE00 4.36
Light Maroon
#A24857
ΔE00 4.41
Deep Rose
#C74767
ΔE00 4.72
Dark Pink
#CB416B
ΔE00 5.68
Dusky Rose
#BA6873
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5166 #51AF9A
analogous
#AF5195 #AF5166 #AF6B51
triadic
#AF5166 #66AF51 #5166AF
tetradic
#AF5166 #95AF51 #51AF9A #6B51AF
square
#AF5166 #95AF51 #51AF9A #6B51AF
split-complementary
#AF5166 #51AF6B #5195AF
monochromatic
#5C2A35 #853D4D #AF5166 #C27B8B #D6A5B0
Accessibility & contrast
On white
5.01
#AF5166 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#AF5166 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5166
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5166 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636466
Deuteranopia (green-blind)
#7B7664
Tritanopia (blue-blind)
#BD4759
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af5166; /* rgb */ color: rgb(175, 81, 102); /* oklch */ color: oklch(55.8% 0.124 8.0);
Tailwind
colors: {
custom: {
50: '#ca8591',
500: '#af5166',
950: '#000000',
},
}SCSS
$custom: #af5166; $custom-light: #ca8591; $custom-dark: #000000;
JSON
{
"hex": "#af5166",
"rgb": {
"r": 175,
"g": 81,
"b": 102
},
"hsl": {
"h": 346.596,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.55822,
"c": 0.12408,
"h": 8
},
"luminance": 0.15958
}Semantic roles & 50–950 ramp
primary
#AF5166
secondary
#99C3BA
accent
#CDB35B
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#140B0C
muted
#827C7D