#AF2250#AF2250
#AF2250 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.177 H 7.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2250 |
|---|---|
| RGB | rgb(175, 34, 80) |
| HSL | hsl(340, 67%, 41%) |
| HSV | hsv(340, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 54.3%, 31.4%) |
| CIE-LAB | lab(39.31, 57.50, 9.41) |
| CIE-LCH | lch(39.31, 58.27, 9.29°) |
| OKLab | oklab(49.97% 0.1752 0.0241) |
| OKLCH | oklch(49.97% 0.177 7.8) |
| XYZ | xyz(19.7011, 10.8401, 8.6428) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.04
Raspberry (survey)
#B00149
ΔE00 2.30
Light Burgundy
#A8415B
ΔE00 4.89
Violet Red
#A50055
ΔE00 5.69
Deep Pink
#CB0162
ΔE00 5.79
Cranberry
#9E003A
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2250 #22AF81
analogous
#AF2296 #AF2250 #AF3B22
triadic
#AF2250 #50AF22 #2250AF
tetradic
#AF2250 #96AF22 #22AF81 #3B22AF
square
#AF2250 #96AF22 #22AF81 #3B22AF
split-complementary
#AF2250 #22AF3B #2296AF
monochromatic
#490E21 #7C1839 #AF2250 #D8366B #E26991
Accessibility & contrast
On white
6.63
#AF2250 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AF2250 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2250
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2250 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2250 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484B51
Deuteranopia (green-blind)
#6D674D
Tritanopia (blue-blind)
#BF0036
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2250; /* rgb */ color: rgb(175, 34, 80); /* oklch */ color: oklch(50.0% 0.177 7.8);
Tailwind
colors: {
custom: {
50: '#cd6d80',
500: '#af2250',
950: '#000000',
},
}SCSS
$custom: #af2250; $custom-light: #cd6d80; $custom-dark: #000000;
JSON
{
"hex": "#af2250",
"rgb": {
"r": 175,
"g": 34,
"b": 80
},
"hsl": {
"h": 340.426,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49967,
"c": 0.17684,
"h": 7.8
},
"luminance": 0.10837
}Semantic roles & 50–950 ramp
primary
#AF2250
secondary
#65C8A8
accent
#EAB23D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C