#AF315D#AF315D
#AF315D is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.165 H 3.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AF315D |
|---|---|
| RGB | rgb(175, 49, 93) |
| HSL | hsl(339, 56%, 44%) |
| HSV | hsv(339, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 46.9%, 31.4%) |
| CIE-LAB | lab(41.38, 53.76, 4.13) |
| CIE-LCH | lch(41.38, 53.92, 4.39°) |
| OKLab | oklab(51.61% 0.1645 0.0112) |
| OKLCH | oklch(51.61% 0.165 3.9) |
| XYZ | xyz(20.7550, 12.1036, 11.5971) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.53
Purplish Red
#B0054B
ΔE00 4.88
Deep Pink
#CB0162
ΔE00 4.96
Raspberry (survey)
#B00149
ΔE00 5.28
Violet Red
#A50055
ΔE00 5.96
Dark Rose
#B5485D
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF315D #31AF83
analogous
#AF319C #AF315D #AF4431
triadic
#AF315D #5DAF31 #315DAF
tetradic
#AF315D #9CAF31 #31AF83 #4431AF
square
#AF315D #9CAF31 #31AF83 #4431AF
split-complementary
#AF315D #31AF44 #319CAF
monochromatic
#4F162A #7F2444 #AF315D #CE4F7C #DB7F9F
Accessibility & contrast
On white
6.14
#AF315D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#AF315D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF315D
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF315D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF315D | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D525E
Deuteranopia (green-blind)
#6F6B5A
Tritanopia (blue-blind)
#BE1B43
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af315d; /* rgb */ color: rgb(175, 49, 93); /* oklch */ color: oklch(51.6% 0.165 3.9);
Tailwind
colors: {
custom: {
50: '#cc738a',
500: '#af315d',
950: '#000000',
},
}SCSS
$custom: #af315d; $custom-light: #cc738a; $custom-dark: #000000;
JSON
{
"hex": "#af315d",
"rgb": {
"r": 175,
"g": 49,
"b": 93
},
"hsl": {
"h": 339.048,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51607,
"c": 0.16483,
"h": 3.9
},
"luminance": 0.12101
}Semantic roles & 50–950 ramp
primary
#AF315D
secondary
#78C4A9
accent
#E0AB48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C