#AF305E#AF305E
#AF305E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.166 H 3.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AF305E |
|---|---|
| RGB | rgb(175, 48, 94) |
| HSL | hsl(338, 57%, 44%) |
| HSV | hsv(338, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 46.3%, 31.4%) |
| CIE-LAB | lab(41.28, 54.22, 3.35) |
| CIE-LCH | lch(41.28, 54.32, 3.54°) |
| OKLab | oklab(51.54% 0.166 0.0092) |
| OKLCH | oklch(51.54% 0.166 3.2) |
| XYZ | xyz(20.7582, 12.0387, 11.8181) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.87
Deep Pink
#CB0162
ΔE00 4.90
Purplish Red
#B0054B
ΔE00 4.98
Raspberry (survey)
#B00149
ΔE00 5.41
Violet Red
#A50055
ΔE00 5.71
Dark Rose
#B5485D
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF305E #30AF81
analogous
#AF309D #AF305E #AF4130
triadic
#AF305E #5EAF30 #305EAF
tetradic
#AF305E #9DAF30 #30AF81 #4130AF
square
#AF305E #9DAF30 #30AF81 #4130AF
split-complementary
#AF305E #30AF41 #309DAF
monochromatic
#4F162A #7F2344 #AF305E #CE4E7C #DC7EA0
Accessibility & contrast
On white
6.16
#AF305E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#AF305E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF305E
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF305E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF305E | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D525F
Deuteranopia (green-blind)
#6E6A5B
Tritanopia (blue-blind)
#BE1A43
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af305e; /* rgb */ color: rgb(175, 48, 94); /* oklch */ color: oklch(51.5% 0.166 3.2);
Tailwind
colors: {
custom: {
50: '#cc738b',
500: '#af305e',
950: '#000000',
},
}SCSS
$custom: #af305e; $custom-light: #cc738b; $custom-dark: #000000;
JSON
{
"hex": "#af305e",
"rgb": {
"r": 175,
"g": 48,
"b": 94
},
"hsl": {
"h": 338.268,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.5154,
"c": 0.16622,
"h": 3.2
},
"luminance": 0.12036
}Semantic roles & 50–950 ramp
primary
#AF305E
secondary
#76C4A8
accent
#E0A948
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D