#AF3161#AF3161
#AF3161 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.7% C 0.166 H 1.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3161 |
|---|---|
| RGB | rgb(175, 49, 97) |
| HSL | hsl(337, 56%, 44%) |
| HSV | hsv(337, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 44.6%, 31.4%) |
| CIE-LAB | lab(41.49, 54.14, 1.78) |
| CIE-LCH | lch(41.49, 54.17, 1.89°) |
| OKLab | oklab(51.73% 0.1659 0.0052) |
| OKLCH | oklch(51.73% 0.166 1.8) |
| XYZ | xyz(20.9368, 12.1763, 12.5547) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.28
Deep Pink
#CB0162
ΔE00 4.96
Purplish Red
#B0054B
ΔE00 5.60
Violet Red
#A50055
ΔE00 5.74
Raspberry (survey)
#B00149
ΔE00 6.05
Magenta (survey)
#C20078
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3161 #31AF7F
analogous
#AF31A0 #AF3161 #AF4031
triadic
#AF3161 #61AF31 #3161AF
tetradic
#AF3161 #A0AF31 #31AF7F #4031AF
square
#AF3161 #A0AF31 #31AF7F #4031AF
split-complementary
#AF3161 #31AF40 #31A0AF
monochromatic
#4F162C #7F2446 #AF3161 #CE4F80 #DB7FA2
Accessibility & contrast
On white
6.11
#AF3161 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#AF3161 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3161
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3161 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3161 | 1.00 | 6.11 | 3.43 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5262
Deuteranopia (green-blind)
#6E6B5E
Tritanopia (blue-blind)
#BE1D45
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af3161; /* rgb */ color: rgb(175, 49, 97); /* oklch */ color: oklch(51.7% 0.166 1.8);
Tailwind
colors: {
custom: {
50: '#cc738d',
500: '#af3161',
950: '#000000',
},
}SCSS
$custom: #af3161; $custom-light: #cc738d; $custom-dark: #000000;
JSON
{
"hex": "#af3161",
"rgb": {
"r": 175,
"g": 49,
"b": 97
},
"hsl": {
"h": 337.143,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51729,
"c": 0.16596,
"h": 1.8
},
"luminance": 0.12174
}Semantic roles & 50–950 ramp
primary
#AF3161
secondary
#78C4A7
accent
#E0A648
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D