#AF315B#AF315B
#AF315B is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.5% C 0.164 H 4.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AF315B |
|---|---|
| RGB | rgb(175, 49, 91) |
| HSL | hsl(340, 56%, 44%) |
| HSV | hsv(340, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 48%, 31.4%) |
| CIE-LAB | lab(41.32, 53.58, 5.30) |
| CIE-LCH | lch(41.32, 53.84, 5.65°) |
| OKLab | oklab(51.55% 0.1637 0.0141) |
| OKLCH | oklch(51.55% 0.164 4.9) |
| XYZ | xyz(20.6675, 12.0686, 11.1367) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.24
Purplish Red
#B0054B
ΔE00 4.58
Raspberry (survey)
#B00149
ΔE00 4.96
Deep Pink
#CB0162
ΔE00 5.07
Dark Rose
#B5485D
ΔE00 5.93
Light Maroon
#A24857
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF315B #31AF85
analogous
#AF319A #AF315B #AF4631
triadic
#AF315B #5BAF31 #315BAF
tetradic
#AF315B #9AAF31 #31AF85 #4631AF
square
#AF315B #9AAF31 #31AF85 #4631AF
split-complementary
#AF315B #31AF46 #319AAF
monochromatic
#4F1629 #7F2442 #AF315B #CE4F7A #DB7F9E
Accessibility & contrast
On white
6.15
#AF315B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#AF315B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF315B
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF315B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF315B | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E525C
Deuteranopia (green-blind)
#6F6B58
Tritanopia (blue-blind)
#BE1A42
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af315b; /* rgb */ color: rgb(175, 49, 91); /* oklch */ color: oklch(51.5% 0.164 4.9);
Tailwind
colors: {
custom: {
50: '#cc7389',
500: '#af315b',
950: '#000000',
},
}SCSS
$custom: #af315b; $custom-light: #cc7389; $custom-dark: #000000;
JSON
{
"hex": "#af315b",
"rgb": {
"r": 175,
"g": 49,
"b": 91
},
"hsl": {
"h": 340,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51548,
"c": 0.16432,
"h": 4.9
},
"luminance": 0.12066
}Semantic roles & 50–950 ramp
primary
#AF315B
secondary
#78C4AB
accent
#E0AD48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C