#AF305F#AF305F
#AF305F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.167 H 2.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AF305F |
|---|---|
| RGB | rgb(175, 48, 95) |
| HSL | hsl(338, 57%, 44%) |
| HSV | hsv(338, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 45.7%, 31.4%) |
| CIE-LAB | lab(41.31, 54.31, 2.77) |
| CIE-LCH | lch(41.31, 54.39, 2.91°) |
| OKLab | oklab(51.57% 0.1663 0.0077) |
| OKLCH | oklch(51.57% 0.167 2.7) |
| XYZ | xyz(20.8033, 12.0568, 12.0560) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.05
Deep Pink
#CB0162
ΔE00 4.90
Purplish Red
#B0054B
ΔE00 5.16
Raspberry (survey)
#B00149
ΔE00 5.60
Violet Red
#A50055
ΔE00 5.65
Dark Rose
#B5485D
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF305F #30AF80
analogous
#AF309E #AF305F #AF4030
triadic
#AF305F #5FAF30 #305FAF
tetradic
#AF305F #9EAF30 #30AF80 #4030AF
square
#AF305F #9EAF30 #30AF80 #4030AF
split-complementary
#AF305F #30AF40 #309EAF
monochromatic
#4F162B #7F2345 #AF305F #CE4E7D #DC7EA1
Accessibility & contrast
On white
6.16
#AF305F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#AF305F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF305F
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF305F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF305F | 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)
#4C5260
Deuteranopia (green-blind)
#6E6A5C
Tritanopia (blue-blind)
#BE1B44
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af305f; /* rgb */ color: rgb(175, 48, 95); /* oklch */ color: oklch(51.6% 0.167 2.7);
Tailwind
colors: {
custom: {
50: '#cc738c',
500: '#af305f',
950: '#000000',
},
}SCSS
$custom: #af305f; $custom-light: #cc738c; $custom-dark: #000000;
JSON
{
"hex": "#af305f",
"rgb": {
"r": 175,
"g": 48,
"b": 95
},
"hsl": {
"h": 337.795,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.51571,
"c": 0.16651,
"h": 2.7
},
"luminance": 0.12054
}Semantic roles & 50–950 ramp
primary
#AF305F
secondary
#76C4A8
accent
#E0A848
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D