#AF2561#AF2561
#AF2561 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.179 H 360.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2561 |
|---|---|
| RGB | rgb(175, 37, 97) |
| HSL | hsl(334, 65%, 42%) |
| HSV | hsv(334, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 44.6%, 31.4%) |
| CIE-LAB | lab(40.09, 58.10, -0.27) |
| CIE-LCH | lch(40.09, 58.10, 359.74°) |
| OKLab | oklab(50.69% 0.1786 0) |
| OKLCH | oklch(50.69% 0.179 0) |
| XYZ | xyz(20.5001, 11.3029, 12.4091) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.17
Deep Pink
#CB0162
ΔE00 5.10
Deep Magenta
#A0025C
ΔE00 5.26
Purplish Red
#B0054B
ΔE00 5.40
Dark Fuchsia
#9D0759
ΔE00 5.42
Magenta (survey)
#C20078
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2561 #25AF73
analogous
#AF25A6 #AF2561 #AF2E25
triadic
#AF2561 #61AF25 #2561AF
tetradic
#AF2561 #A6AF25 #25AF73 #2E25AF
square
#AF2561 #A6AF25 #25AF73 #2E25AF
split-complementary
#AF2561 #25AF2E #25A6AF
monochromatic
#4A1029 #7C1A45 #AF2561 #D63C7F #E06EA0
Accessibility & contrast
On white
6.44
#AF2561 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2561 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2561
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2561 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2561 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454E62
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#BE0440
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2561; /* rgb */ color: rgb(175, 37, 97); /* oklch */ color: oklch(50.7% 0.179 360.0);
Tailwind
colors: {
custom: {
50: '#cc6e8d',
500: '#af2561',
950: '#000000',
},
}SCSS
$custom: #af2561; $custom-light: #cc6e8d; $custom-dark: #000000;
JSON
{
"hex": "#af2561",
"rgb": {
"r": 175,
"g": 37,
"b": 97
},
"hsl": {
"h": 333.913,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.50693,
"c": 0.17856,
"h": 360
},
"luminance": 0.113
}Semantic roles & 50–950 ramp
primary
#AF2561
secondary
#69C79E
accent
#E89F40
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D