#AF2754#AF2754
#AF2754 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.173 H 6.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2754 |
|---|---|
| RGB | rgb(175, 39, 84) |
| HSL | hsl(340, 64%, 42%) |
| HSV | hsv(340, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 52%, 31.4%) |
| CIE-LAB | lab(39.93, 56.36, 7.74) |
| CIE-LCH | lch(39.93, 56.89, 7.82°) |
| OKLab | oklab(50.46% 0.172 0.0201) |
| OKLCH | oklch(50.46% 0.173 6.7) |
| XYZ | xyz(20.0068, 11.2079, 9.4956) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.80
Raspberry (survey)
#B00149
ΔE00 3.14
Light Burgundy
#A8415B
ΔE00 4.29
Deep Pink
#CB0162
ΔE00 5.34
Violet Red
#A50055
ΔE00 5.55
Berry
#990F4B
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2754 #27AF82
analogous
#AF2798 #AF2754 #AF3E27
triadic
#AF2754 #54AF27 #2754AF
tetradic
#AF2754 #98AF27 #27AF82 #3E27AF
square
#AF2754 #98AF27 #27AF82 #3E27AF
split-complementary
#AF2754 #27AF3E #2798AF
monochromatic
#4B1124 #7D1C3C #AF2754 #D43F70 #DF7196
Accessibility & contrast
On white
6.48
#AF2754 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF2754 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2754
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2754 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2754 | 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)
#4A4D55
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2754; /* rgb */ color: rgb(175, 39, 84); /* oklch */ color: oklch(50.5% 0.173 6.7);
Tailwind
colors: {
custom: {
50: '#cd6f83',
500: '#af2754',
950: '#000000',
},
}SCSS
$custom: #af2754; $custom-light: #cd6f83; $custom-dark: #000000;
JSON
{
"hex": "#af2754",
"rgb": {
"r": 175,
"g": 39,
"b": 84
},
"hsl": {
"h": 340.147,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.50456,
"c": 0.17316,
"h": 6.7
},
"luminance": 0.11205
}Semantic roles & 50–950 ramp
primary
#AF2754
secondary
#6BC6A8
accent
#E7B041
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C