#AF3156#AF3156
#AF3156 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.4% C 0.163 H 7.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3156 |
|---|---|
| RGB | rgb(175, 49, 86) |
| HSL | hsl(342, 56%, 44%) |
| HSV | hsv(342, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 50.9%, 31.4%) |
| CIE-LAB | lab(41.19, 53.13, 8.26) |
| CIE-LCH | lch(41.19, 53.77, 8.83°) |
| OKLab | oklab(51.41% 0.1618 0.0214) |
| OKLCH | oklch(51.41% 0.163 7.5) |
| XYZ | xyz(20.4590, 11.9852, 10.0383) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.94
Purplish Red
#B0054B
ΔE00 4.14
Raspberry (survey)
#B00149
ΔE00 4.39
Light Maroon
#A24857
ΔE00 5.22
Dark Rose
#B5485D
ΔE00 5.28
Deep Pink
#CB0162
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3156 #31AF8A
analogous
#AF3195 #AF3156 #AF4B31
triadic
#AF3156 #56AF31 #3156AF
tetradic
#AF3156 #95AF31 #31AF8A #4B31AF
square
#AF3156 #95AF31 #31AF8A #4B31AF
split-complementary
#AF3156 #31AF4B #3195AF
monochromatic
#4F1627 #7F243F #AF3156 #CE4F75 #DB7F9A
Accessibility & contrast
On white
6.18
#AF3156 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AF3156 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3156
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3156 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3156 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5157
Deuteranopia (green-blind)
#706A53
Tritanopia (blue-blind)
#BF1740
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af3156; /* rgb */ color: rgb(175, 49, 86); /* oklch */ color: oklch(51.4% 0.163 7.5);
Tailwind
colors: {
custom: {
50: '#cd7385',
500: '#af3156',
950: '#000000',
},
}SCSS
$custom: #af3156; $custom-light: #cd7385; $custom-dark: #000000;
JSON
{
"hex": "#af3156",
"rgb": {
"r": 175,
"g": 49,
"b": 86
},
"hsl": {
"h": 342.381,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51407,
"c": 0.16325,
"h": 7.5
},
"luminance": 0.11982
}Semantic roles & 50–950 ramp
primary
#AF3156
secondary
#78C4AE
accent
#E0B348
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C