#AF3164#AF3164
#AF3164 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.167 H 0.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3164 |
|---|---|
| RGB | rgb(175, 49, 100) |
| HSL | hsl(336, 56%, 44%) |
| HSV | hsv(336, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 42.9%, 31.4%) |
| CIE-LAB | lab(41.58, 54.44, 0.04) |
| CIE-LCH | lch(41.58, 54.44, 0.04°) |
| OKLab | oklab(51.82% 0.1669 0.0007) |
| OKLCH | oklch(51.82% 0.167 0.2) |
| XYZ | xyz(21.0793, 12.2333, 13.3054) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.92
Deep Pink
#CB0162
ΔE00 5.13
Violet Red
#A50055
ΔE00 5.73
Magenta (survey)
#C20078
ΔE00 6.12
Purplish Red
#B0054B
ΔE00 6.22
Raspberry (survey)
#B00149
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3164 #31AF7C
analogous
#AF31A3 #AF3164 #AF3D31
triadic
#AF3164 #64AF31 #3164AF
tetradic
#AF3164 #A3AF31 #31AF7C #3D31AF
square
#AF3164 #A3AF31 #31AF7C #3D31AF
split-complementary
#AF3164 #31AF3D #31A3AF
monochromatic
#4F162D #7F2449 #AF3164 #CE4F83 #DB7FA4
Accessibility & contrast
On white
6.09
#AF3164 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#AF3164 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3164
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3164 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3164 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5365
Deuteranopia (green-blind)
#6E6B61
Tritanopia (blue-blind)
#BE1F46
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af3164; /* rgb */ color: rgb(175, 49, 100); /* oklch */ color: oklch(51.8% 0.167 0.2);
Tailwind
colors: {
custom: {
50: '#cc7390',
500: '#af3164',
950: '#000000',
},
}SCSS
$custom: #af3164; $custom-light: #cc7390; $custom-dark: #000000;
JSON
{
"hex": "#af3164",
"rgb": {
"r": 175,
"g": 49,
"b": 100
},
"hsl": {
"h": 335.714,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51824,
"c": 0.16691,
"h": 0.2
},
"luminance": 0.12231
}Semantic roles & 50–950 ramp
primary
#AF3164
secondary
#78C4A5
accent
#E0A248
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D