#AF2757#AF2757
#AF2757 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.174 H 5.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2757 |
|---|---|
| RGB | rgb(175, 39, 87) |
| HSL | hsl(339, 64%, 42%) |
| HSV | hsv(339, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 50.3%, 31.4%) |
| CIE-LAB | lab(40.01, 56.61, 5.95) |
| CIE-LCH | lch(40.01, 56.92, 6.00°) |
| OKLab | oklab(50.54% 0.1731 0.0157) |
| OKLCH | oklch(50.54% 0.174 5.2) |
| XYZ | xyz(20.1268, 11.2559, 10.1278) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.21
Raspberry (survey)
#B00149
ΔE00 3.63
Light Burgundy
#A8415B
ΔE00 4.42
Deep Pink
#CB0162
ΔE00 5.02
Violet Red
#A50055
ΔE00 5.04
Berry
#990F4B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2757 #27AF7F
analogous
#AF279B #AF2757 #AF3B27
triadic
#AF2757 #57AF27 #2757AF
tetradic
#AF2757 #9BAF27 #27AF7F #3B27AF
square
#AF2757 #9BAF27 #27AF7F #3B27AF
split-complementary
#AF2757 #27AF3B #279BAF
monochromatic
#4B1125 #7D1C3E #AF2757 #D43F74 #DF7198
Accessibility & contrast
On white
6.46
#AF2757 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AF2757 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2757
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2757 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2757 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494D58
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#BF003C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2757; /* rgb */ color: rgb(175, 39, 87); /* oklch */ color: oklch(50.5% 0.174 5.2);
Tailwind
colors: {
custom: {
50: '#cd6f86',
500: '#af2757',
950: '#000000',
},
}SCSS
$custom: #af2757; $custom-light: #cd6f86; $custom-dark: #000000;
JSON
{
"hex": "#af2757",
"rgb": {
"r": 175,
"g": 39,
"b": 87
},
"hsl": {
"h": 338.824,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.50541,
"c": 0.17382,
"h": 5.2
},
"luminance": 0.11253
}Semantic roles & 50–950 ramp
primary
#AF2757
secondary
#6BC6A6
accent
#E7AC41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C