#AF3160#AF3160
#AF3160 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.7% C 0.166 H 2.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3160 |
|---|---|
| RGB | rgb(175, 49, 96) |
| HSL | hsl(338, 56%, 44%) |
| HSV | hsv(338, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 45.1%, 31.4%) |
| CIE-LAB | lab(41.47, 54.05, 2.37) |
| CIE-LCH | lch(41.47, 54.10, 2.51°) |
| OKLab | oklab(51.7% 0.1655 0.0067) |
| OKLCH | oklch(51.7% 0.166 2.3) |
| XYZ | xyz(20.8904, 12.1578, 12.3107) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.07
Deep Pink
#CB0162
ΔE00 4.94
Purplish Red
#B0054B
ΔE00 5.41
Violet Red
#A50055
ΔE00 5.77
Raspberry (survey)
#B00149
ΔE00 5.85
Dark Rose
#B5485D
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3160 #31AF80
analogous
#AF319F #AF3160 #AF4131
triadic
#AF3160 #60AF31 #3160AF
tetradic
#AF3160 #9FAF31 #31AF80 #4131AF
square
#AF3160 #9FAF31 #31AF80 #4131AF
split-complementary
#AF3160 #31AF41 #319FAF
monochromatic
#4F162C #7F2446 #AF3160 #CE4F7F #DB7FA2
Accessibility & contrast
On white
6.12
#AF3160 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#AF3160 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3160
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3160 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3160 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5261
Deuteranopia (green-blind)
#6E6B5D
Tritanopia (blue-blind)
#BE1D45
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af3160; /* rgb */ color: rgb(175, 49, 96); /* oklch */ color: oklch(51.7% 0.166 2.3);
Tailwind
colors: {
custom: {
50: '#cc738d',
500: '#af3160',
950: '#000000',
},
}SCSS
$custom: #af3160; $custom-light: #cc738d; $custom-dark: #000000;
JSON
{
"hex": "#af3160",
"rgb": {
"r": 175,
"g": 49,
"b": 96
},
"hsl": {
"h": 337.619,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51698,
"c": 0.16566,
"h": 2.3
},
"luminance": 0.12155
}Semantic roles & 50–950 ramp
primary
#AF3160
secondary
#78C4A8
accent
#E0A748
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D