#AF2255#AF2255
#AF2255 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.178 H 5.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2255 |
|---|---|
| RGB | rgb(175, 34, 85) |
| HSL | hsl(338, 67%, 41%) |
| HSV | hsv(338, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 51.4%, 31.4%) |
| CIE-LAB | lab(39.44, 57.90, 6.41) |
| CIE-LCH | lch(39.44, 58.25, 6.32°) |
| OKLab | oklab(50.11% 0.1771 0.0168) |
| OKLCH | oklch(50.11% 0.178 5.4) |
| XYZ | xyz(19.8927, 10.9167, 9.6522) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.61
Raspberry (survey)
#B00149
ΔE00 3.05
Violet Red
#A50055
ΔE00 4.68
Light Burgundy
#A8415B
ΔE00 4.95
Deep Pink
#CB0162
ΔE00 5.15
Berry
#990F4B
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2255 #22AF7C
analogous
#AF229B #AF2255 #AF3522
triadic
#AF2255 #55AF22 #2255AF
tetradic
#AF2255 #9BAF22 #22AF7C #3522AF
square
#AF2255 #9BAF22 #22AF7C #3522AF
split-complementary
#AF2255 #22AF35 #229BAF
monochromatic
#490E23 #7C183C #AF2255 #D83671 #E26995
Accessibility & contrast
On white
6.60
#AF2255 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AF2255 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2255
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2255 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2255 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474B56
Deuteranopia (green-blind)
#6C6752
Tritanopia (blue-blind)
#BF0039
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2255; /* rgb */ color: rgb(175, 34, 85); /* oklch */ color: oklch(50.1% 0.178 5.4);
Tailwind
colors: {
custom: {
50: '#cd6d84',
500: '#af2255',
950: '#000000',
},
}SCSS
$custom: #af2255; $custom-light: #cd6d84; $custom-dark: #000000;
JSON
{
"hex": "#af2255",
"rgb": {
"r": 175,
"g": 34,
"b": 85
},
"hsl": {
"h": 338.298,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.50105,
"c": 0.17786,
"h": 5.4
},
"luminance": 0.10914
}Semantic roles & 50–950 ramp
primary
#AF2255
secondary
#65C8A4
accent
#EAAC3D
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C