#AF3163#AF3163
#AF3163 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.167 H 0.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3163 |
|---|---|
| RGB | rgb(175, 49, 99) |
| HSL | hsl(336, 56%, 44%) |
| HSV | hsv(336, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 43.4%, 31.4%) |
| CIE-LAB | lab(41.55, 54.34, 0.62) |
| CIE-LCH | lch(41.55, 54.35, 0.65°) |
| OKLab | oklab(51.79% 0.1666 0.0022) |
| OKLCH | oklch(51.79% 0.167 0.8) |
| XYZ | xyz(21.0312, 12.2141, 13.0520) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.70
Deep Pink
#CB0162
ΔE00 5.06
Violet Red
#A50055
ΔE00 5.72
Purplish Red
#B0054B
ΔE00 6.01
Magenta (survey)
#C20078
ΔE00 6.34
Raspberry (survey)
#B00149
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3163 #31AF7D
analogous
#AF31A2 #AF3163 #AF3E31
triadic
#AF3163 #63AF31 #3163AF
tetradic
#AF3163 #A2AF31 #31AF7D #3E31AF
square
#AF3163 #A2AF31 #31AF7D #3E31AF
split-complementary
#AF3163 #31AF3E #31A2AF
monochromatic
#4F162D #7F2448 #AF3163 #CE4F82 #DB7FA4
Accessibility & contrast
On white
6.10
#AF3163 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#AF3163 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3163
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3163 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3163 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5364
Deuteranopia (green-blind)
#6E6B60
Tritanopia (blue-blind)
#BE1F46
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af3163; /* rgb */ color: rgb(175, 49, 99); /* oklch */ color: oklch(51.8% 0.167 0.8);
Tailwind
colors: {
custom: {
50: '#cc738f',
500: '#af3163',
950: '#000000',
},
}SCSS
$custom: #af3163; $custom-light: #cc738f; $custom-dark: #000000;
JSON
{
"hex": "#af3163",
"rgb": {
"r": 175,
"g": 49,
"b": 99
},
"hsl": {
"h": 336.19,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51792,
"c": 0.16658,
"h": 0.8
},
"luminance": 0.12211
}Semantic roles & 50–950 ramp
primary
#AF3163
secondary
#78C4A6
accent
#E0A448
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D