#AF2560#AF2560
#AF2560 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.178 H 0.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2560 |
|---|---|
| RGB | rgb(175, 37, 96) |
| HSL | hsl(334, 65%, 42%) |
| HSV | hsv(334, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 45.1%, 31.4%) |
| CIE-LAB | lab(40.06, 58.01, 0.32) |
| CIE-LCH | lch(40.06, 58.01, 0.32°) |
| OKLab | oklab(50.66% 0.1782 0.0015) |
| OKLCH | oklch(50.66% 0.178 0.5) |
| XYZ | xyz(20.4537, 11.2844, 12.1651) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.14
Deep Pink
#CB0162
ΔE00 5.02
Purplish Red
#B0054B
ΔE00 5.15
Deep Magenta
#A0025C
ΔE00 5.37
Dark Fuchsia
#9D0759
ΔE00 5.50
Raspberry (survey)
#B00149
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2560 #25AF74
analogous
#AF25A5 #AF2560 #AF2F25
triadic
#AF2560 #60AF25 #2560AF
tetradic
#AF2560 #A5AF25 #25AF74 #2F25AF
square
#AF2560 #A5AF25 #25AF74 #2F25AF
split-complementary
#AF2560 #25AF2F #25A5AF
monochromatic
#4A1029 #7C1A44 #AF2560 #D63C7D #E06E9F
Accessibility & contrast
On white
6.45
#AF2560 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2560 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2560
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2560 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2560 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464E61
Deuteranopia (green-blind)
#6B685D
Tritanopia (blue-blind)
#BE033F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2560; /* rgb */ color: rgb(175, 37, 96); /* oklch */ color: oklch(50.7% 0.178 0.5);
Tailwind
colors: {
custom: {
50: '#cc6e8d',
500: '#af2560',
950: '#000000',
},
}SCSS
$custom: #af2560; $custom-light: #cc6e8d; $custom-dark: #000000;
JSON
{
"hex": "#af2560",
"rgb": {
"r": 175,
"g": 37,
"b": 96
},
"hsl": {
"h": 334.348,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.5066,
"c": 0.17823,
"h": 0.5
},
"luminance": 0.11282
}Semantic roles & 50–950 ramp
primary
#AF2560
secondary
#69C79F
accent
#E8A040
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D