#AF255D#AF255D
#AF255D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.177 H 1.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #AF255D |
|---|---|
| RGB | rgb(175, 37, 93) |
| HSL | hsl(336, 65%, 42%) |
| HSV | hsv(336, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 46.9%, 31.4%) |
| CIE-LAB | lab(39.97, 57.73, 2.09) |
| CIE-LCH | lch(39.97, 57.77, 2.07°) |
| OKLab | oklab(50.57% 0.1772 0.006) |
| OKLCH | oklch(50.57% 0.177 1.9) |
| XYZ | xyz(20.3182, 11.2302, 11.4515) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.18
Purplish Red
#B0054B
ΔE00 4.42
Deep Pink
#CB0162
ΔE00 4.87
Raspberry (survey)
#B00149
ΔE00 4.91
Light Burgundy
#A8415B
ΔE00 5.41
Berry
#990F4B
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF255D #25AF77
analogous
#AF25A2 #AF255D #AF3225
triadic
#AF255D #5DAF25 #255DAF
tetradic
#AF255D #A2AF25 #25AF77 #3225AF
square
#AF255D #A2AF25 #25AF77 #3225AF
split-complementary
#AF255D #25AF32 #25A2AF
monochromatic
#4A1027 #7C1A42 #AF255D #D63C7A #E06E9C
Accessibility & contrast
On white
6.47
#AF255D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AF255D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF255D
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF255D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF255D | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474D5E
Deuteranopia (green-blind)
#6B685A
Tritanopia (blue-blind)
#BE003E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af255d; /* rgb */ color: rgb(175, 37, 93); /* oklch */ color: oklch(50.6% 0.177 1.9);
Tailwind
colors: {
custom: {
50: '#cd6e8a',
500: '#af255d',
950: '#000000',
},
}SCSS
$custom: #af255d; $custom-light: #cd6e8a; $custom-dark: #000000;
JSON
{
"hex": "#af255d",
"rgb": {
"r": 175,
"g": 37,
"b": 93
},
"hsl": {
"h": 335.652,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.50565,
"c": 0.17729,
"h": 1.9
},
"luminance": 0.11227
}Semantic roles & 50–950 ramp
primary
#AF255D
secondary
#69C7A1
accent
#E8A440
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C