#AF2954#AF2954
#AF2954 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.171 H 7.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2954 |
|---|---|
| RGB | rgb(175, 41, 84) |
| HSL | hsl(341, 62%, 42%) |
| HSV | hsv(341, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 52%, 31.4%) |
| CIE-LAB | lab(40.15, 55.73, 8.05) |
| CIE-LCH | lch(40.15, 56.31, 8.22°) |
| OKLab | oklab(50.62% 0.17 0.0208) |
| OKLCH | oklch(50.62% 0.171 7) |
| XYZ | xyz(20.0742, 11.3427, 9.5181) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.00
Raspberry (survey)
#B00149
ΔE00 3.32
Light Burgundy
#A8415B
ΔE00 4.03
Deep Pink
#CB0162
ΔE00 5.41
Violet Red
#A50055
ΔE00 5.85
Light Maroon
#A24857
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2954 #29AF84
analogous
#AF2997 #AF2954 #AF4129
triadic
#AF2954 #54AF29 #2954AF
tetradic
#AF2954 #97AF29 #29AF84 #4129AF
square
#AF2954 #97AF29 #29AF84 #4129AF
split-complementary
#AF2954 #29AF41 #2997AF
monochromatic
#4C1224 #7D1D3C #AF2954 #D34271 #DE7496
Accessibility & contrast
On white
6.43
#AF2954 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF2954 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2954
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2954 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2954 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4E55
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#BF003B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2954; /* rgb */ color: rgb(175, 41, 84); /* oklch */ color: oklch(50.6% 0.171 7.0);
Tailwind
colors: {
custom: {
50: '#cd6f83',
500: '#af2954',
950: '#000000',
},
}SCSS
$custom: #af2954; $custom-light: #cd6f83; $custom-dark: #000000;
JSON
{
"hex": "#af2954",
"rgb": {
"r": 175,
"g": 41,
"b": 84
},
"hsl": {
"h": 340.746,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50621,
"c": 0.17123,
"h": 7
},
"luminance": 0.1134
}Semantic roles & 50–950 ramp
primary
#AF2954
secondary
#6EC6AA
accent
#E5B143
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C