#AF305D#AF305D
#AF305D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.166 H 3.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AF305D |
|---|---|
| RGB | rgb(175, 48, 93) |
| HSL | hsl(339, 57%, 44%) |
| HSV | hsv(339, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 46.9%, 31.4%) |
| CIE-LAB | lab(41.25, 54.13, 3.94) |
| CIE-LCH | lch(41.25, 54.27, 4.16°) |
| OKLab | oklab(51.51% 0.1656 0.0107) |
| OKLCH | oklch(51.51% 0.166 3.7) |
| XYZ | xyz(20.7136, 12.0209, 11.5833) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.70
Purplish Red
#B0054B
ΔE00 4.80
Deep Pink
#CB0162
ΔE00 4.92
Raspberry (survey)
#B00149
ΔE00 5.22
Violet Red
#A50055
ΔE00 5.78
Dark Rose
#B5485D
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF305D #30AF82
analogous
#AF309C #AF305D #AF4230
triadic
#AF305D #5DAF30 #305DAF
tetradic
#AF305D #9CAF30 #30AF82 #4230AF
square
#AF305D #9CAF30 #30AF82 #4230AF
split-complementary
#AF305D #30AF42 #309CAF
monochromatic
#4F162A #7F2343 #AF305D #CE4E7B #DC7E9F
Accessibility & contrast
On white
6.17
#AF305D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AF305D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF305D
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF305D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF305D | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D515E
Deuteranopia (green-blind)
#6F6A5A
Tritanopia (blue-blind)
#BE1A43
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af305d; /* rgb */ color: rgb(175, 48, 93); /* oklch */ color: oklch(51.5% 0.166 3.7);
Tailwind
colors: {
custom: {
50: '#cc738a',
500: '#af305d',
950: '#000000',
},
}SCSS
$custom: #af305d; $custom-light: #cc738a; $custom-dark: #000000;
JSON
{
"hex": "#af305d",
"rgb": {
"r": 175,
"g": 48,
"b": 93
},
"hsl": {
"h": 338.74,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.5151,
"c": 0.16595,
"h": 3.7
},
"luminance": 0.12018
}Semantic roles & 50–950 ramp
primary
#AF305D
secondary
#76C4A9
accent
#E0AA48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C