#AF305B#AF305B
#AF305B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.165 H 4.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AF305B |
|---|---|
| RGB | rgb(175, 48, 91) |
| HSL | hsl(340, 57%, 44%) |
| HSV | hsv(340, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 48%, 31.4%) |
| CIE-LAB | lab(41.19, 53.94, 5.12) |
| CIE-LCH | lch(41.19, 54.18, 5.42°) |
| OKLab | oklab(51.45% 0.1649 0.0136) |
| OKLCH | oklch(51.45% 0.165 4.7) |
| XYZ | xyz(20.6262, 11.9859, 11.1229) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.41
Purplish Red
#B0054B
ΔE00 4.49
Raspberry (survey)
#B00149
ΔE00 4.88
Deep Pink
#CB0162
ΔE00 5.01
Violet Red
#A50055
ΔE00 5.98
Light Maroon
#A24857
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF305B #30AF84
analogous
#AF309A #AF305B #AF4430
triadic
#AF305B #5BAF30 #305BAF
tetradic
#AF305B #9AAF30 #30AF84 #4430AF
square
#AF305B #9AAF30 #30AF84 #4430AF
split-complementary
#AF305B #30AF44 #309AAF
monochromatic
#4F1629 #7F2342 #AF305B #CE4E79 #DC7E9E
Accessibility & contrast
On white
6.18
#AF305B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AF305B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF305B
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF305B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF305B | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D515C
Deuteranopia (green-blind)
#6F6A58
Tritanopia (blue-blind)
#BE1842
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af305b; /* rgb */ color: rgb(175, 48, 91); /* oklch */ color: oklch(51.5% 0.165 4.7);
Tailwind
colors: {
custom: {
50: '#cc7389',
500: '#af305b',
950: '#000000',
},
}SCSS
$custom: #af305b; $custom-light: #cc7389; $custom-dark: #000000;
JSON
{
"hex": "#af305b",
"rgb": {
"r": 175,
"g": 48,
"b": 91
},
"hsl": {
"h": 339.685,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.51451,
"c": 0.16544,
"h": 4.7
},
"luminance": 0.11983
}Semantic roles & 50–950 ramp
primary
#AF305B
secondary
#76C4AA
accent
#E0AD48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C