#AF2658#AF2658
#AF2658 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.175 H 4.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2658 |
|---|---|
| RGB | rgb(175, 38, 88) |
| HSL | hsl(338, 64%, 42%) |
| HSV | hsv(338, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 49.7%, 31.4%) |
| CIE-LAB | lab(39.93, 57.00, 5.20) |
| CIE-LCH | lch(39.93, 57.23, 5.21°) |
| OKLab | oklab(50.49% 0.1745 0.0138) |
| OKLCH | oklch(50.49% 0.175 4.5) |
| XYZ | xyz(20.1355, 11.2076, 10.3336) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.34
Raspberry (survey)
#B00149
ΔE00 3.79
Light Burgundy
#A8415B
ΔE00 4.65
Violet Red
#A50055
ΔE00 4.75
Deep Pink
#CB0162
ΔE00 4.94
Berry
#990F4B
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2658 #26AF7D
analogous
#AF269D #AF2658 #AF3926
triadic
#AF2658 #58AF26 #2658AF
tetradic
#AF2658 #9DAF26 #26AF7D #3926AF
square
#AF2658 #9DAF26 #26AF7D #3926AF
split-complementary
#AF2658 #26AF39 #269DAF
monochromatic
#4A1025 #7D1B3F #AF2658 #D53D75 #E07099
Accessibility & contrast
On white
6.48
#AF2658 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF2658 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2658
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2658 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2658 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484D59
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#BF003C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2658; /* rgb */ color: rgb(175, 38, 88); /* oklch */ color: oklch(50.5% 0.175 4.5);
Tailwind
colors: {
custom: {
50: '#cd6e86',
500: '#af2658',
950: '#000000',
},
}SCSS
$custom: #af2658; $custom-light: #cd6e86; $custom-dark: #000000;
JSON
{
"hex": "#af2658",
"rgb": {
"r": 175,
"g": 38,
"b": 88
},
"hsl": {
"h": 338.102,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.50491,
"c": 0.175,
"h": 4.5
},
"luminance": 0.11205
}Semantic roles & 50–950 ramp
primary
#AF2658
secondary
#6AC7A5
accent
#E7AA40
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C