#AF255A#AF255A
#AF255A is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.176 H 3.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AF255A |
|---|---|
| RGB | rgb(175, 37, 90) |
| HSL | hsl(337, 65%, 42%) |
| HSV | hsv(337, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 48.6%, 31.4%) |
| CIE-LAB | lab(39.88, 57.47, 3.86) |
| CIE-LCH | lch(39.88, 57.60, 3.84°) |
| OKLab | oklab(50.47% 0.1761 0.0105) |
| OKLCH | oklch(50.47% 0.176 3.4) |
| XYZ | xyz(20.1880, 11.1781, 10.7654) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.73
Raspberry (survey)
#B00149
ΔE00 4.20
Violet Red
#A50055
ΔE00 4.39
Deep Pink
#CB0162
ΔE00 4.86
Light Burgundy
#A8415B
ΔE00 5.00
Berry
#990F4B
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF255A #25AF7A
analogous
#AF259F #AF255A #AF3525
triadic
#AF255A #5AAF25 #255AAF
tetradic
#AF255A #9FAF25 #25AF7A #3525AF
square
#AF255A #9FAF25 #25AF7A #3525AF
split-complementary
#AF255A #25AF35 #259FAF
monochromatic
#4A1026 #7C1A40 #AF255A #D63C77 #E06E9A
Accessibility & contrast
On white
6.49
#AF255A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF255A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF255A
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF255A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF255A | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474D5B
Deuteranopia (green-blind)
#6C6857
Tritanopia (blue-blind)
#BF003C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af255a; /* rgb */ color: rgb(175, 37, 90); /* oklch */ color: oklch(50.5% 0.176 3.4);
Tailwind
colors: {
custom: {
50: '#cd6e88',
500: '#af255a',
950: '#000000',
},
}SCSS
$custom: #af255a; $custom-light: #cd6e88; $custom-dark: #000000;
JSON
{
"hex": "#af255a",
"rgb": {
"r": 175,
"g": 37,
"b": 90
},
"hsl": {
"h": 336.957,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.50473,
"c": 0.17645,
"h": 3.4
},
"luminance": 0.11175
}Semantic roles & 50–950 ramp
primary
#AF255A
secondary
#69C7A3
accent
#E8A740
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C