#AF2256#AF2256
#AF2256 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.178 H 4.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2256 |
|---|---|
| RGB | rgb(175, 34, 86) |
| HSL | hsl(338, 67%, 41%) |
| HSV | hsv(338, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 50.9%, 31.4%) |
| CIE-LAB | lab(39.47, 57.98, 5.81) |
| CIE-LCH | lch(39.47, 58.27, 5.72°) |
| OKLab | oklab(50.13% 0.1774 0.0153) |
| OKLCH | oklch(50.13% 0.178 4.9) |
| XYZ | xyz(19.9327, 10.9327, 9.8629) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.80
Raspberry (survey)
#B00149
ΔE00 3.26
Violet Red
#A50055
ΔE00 4.51
Light Burgundy
#A8415B
ΔE00 5.01
Deep Pink
#CB0162
ΔE00 5.07
Berry
#990F4B
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2256 #22AF7B
analogous
#AF229C #AF2256 #AF3422
triadic
#AF2256 #56AF22 #2256AF
tetradic
#AF2256 #9CAF22 #22AF7B #3422AF
square
#AF2256 #9CAF22 #22AF7B #3422AF
split-complementary
#AF2256 #22AF34 #229CAF
monochromatic
#490E24 #7C183D #AF2256 #D83672 #E26996
Accessibility & contrast
On white
6.59
#AF2256 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AF2256 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2256
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2256 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2256 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474B57
Deuteranopia (green-blind)
#6C6753
Tritanopia (blue-blind)
#BF0039
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2256; /* rgb */ color: rgb(175, 34, 86); /* oklch */ color: oklch(50.1% 0.178 4.9);
Tailwind
colors: {
custom: {
50: '#cd6d85',
500: '#af2256',
950: '#000000',
},
}SCSS
$custom: #af2256; $custom-light: #cd6d85; $custom-dark: #000000;
JSON
{
"hex": "#af2256",
"rgb": {
"r": 175,
"g": 34,
"b": 86
},
"hsl": {
"h": 337.872,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.50134,
"c": 0.1781,
"h": 4.9
},
"luminance": 0.1093
}Semantic roles & 50–950 ramp
primary
#AF2256
secondary
#65C8A3
accent
#EAAB3D
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C