#AF2955#AF2955
#AF2955 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.171 H 6.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2955 |
|---|---|
| RGB | rgb(175, 41, 85) |
| HSL | hsl(340, 62%, 42%) |
| HSV | hsv(340, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 51.4%, 31.4%) |
| CIE-LAB | lab(40.18, 55.81, 7.46) |
| CIE-LCH | lch(40.18, 56.31, 7.61°) |
| OKLab | oklab(50.65% 0.1703 0.0194) |
| OKLCH | oklch(50.65% 0.171 6.5) |
| XYZ | xyz(20.1136, 11.3585, 9.7258) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.09
Raspberry (survey)
#B00149
ΔE00 3.44
Light Burgundy
#A8415B
ΔE00 4.04
Deep Pink
#CB0162
ΔE00 5.28
Violet Red
#A50055
ΔE00 5.67
Berry
#990F4B
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2955 #29AF83
analogous
#AF2998 #AF2955 #AF4029
triadic
#AF2955 #55AF29 #2955AF
tetradic
#AF2955 #98AF29 #29AF83 #4029AF
square
#AF2955 #98AF29 #29AF83 #4029AF
split-complementary
#AF2955 #29AF40 #2998AF
monochromatic
#4C1225 #7D1D3D #AF2955 #D34272 #DE7497
Accessibility & contrast
On white
6.42
#AF2955 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF2955 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2955
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2955 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2955 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4E56
Deuteranopia (green-blind)
#6E6852
Tritanopia (blue-blind)
#BF013C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2955; /* rgb */ color: rgb(175, 41, 85); /* oklch */ color: oklch(50.6% 0.171 6.5);
Tailwind
colors: {
custom: {
50: '#cd6f84',
500: '#af2955',
950: '#000000',
},
}SCSS
$custom: #af2955; $custom-light: #cd6f84; $custom-dark: #000000;
JSON
{
"hex": "#af2955",
"rgb": {
"r": 175,
"g": 41,
"b": 85
},
"hsl": {
"h": 340.299,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50649,
"c": 0.17144,
"h": 6.5
},
"luminance": 0.11356
}Semantic roles & 50–950 ramp
primary
#AF2955
secondary
#6EC6A9
accent
#E5B043
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C