#AF2457#AF2457
#AF2457 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.177 H 4.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2457 |
|---|---|
| RGB | rgb(175, 36, 87) |
| HSL | hsl(338, 66%, 41%) |
| HSV | hsv(338, 79%, 69%) |
| CMYK | cmyk(0%, 79.4%, 50.3%, 31.4%) |
| CIE-LAB | lab(39.69, 57.50, 5.50) |
| CIE-LCH | lch(39.69, 57.76, 5.46°) |
| OKLab | oklab(50.31% 0.176 0.0146) |
| OKLCH | oklch(50.31% 0.177 4.7) |
| XYZ | xyz(20.0322, 11.0666, 10.0962) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.07
Raspberry (survey)
#B00149
ΔE00 3.52
Violet Red
#A50055
ΔE00 4.62
Light Burgundy
#A8415B
ΔE00 4.83
Deep Pink
#CB0162
ΔE00 5.00
Berry
#990F4B
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2457 #24AF7C
analogous
#AF249D #AF2457 #AF3724
triadic
#AF2457 #57AF24 #2457AF
tetradic
#AF2457 #9DAF24 #24AF7C #3724AF
square
#AF2457 #9DAF24 #24AF7C #3724AF
split-complementary
#AF2457 #24AF37 #249DAF
monochromatic
#490F25 #7C1A3E #AF2457 #D63A73 #E16D97
Accessibility & contrast
On white
6.54
#AF2457 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2457 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2457
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2457 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2457 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484C58
Deuteranopia (green-blind)
#6C6754
Tritanopia (blue-blind)
#BF003B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2457; /* rgb */ color: rgb(175, 36, 87); /* oklch */ color: oklch(50.3% 0.177 4.7);
Tailwind
colors: {
custom: {
50: '#cd6e86',
500: '#af2457',
950: '#000000',
},
}SCSS
$custom: #af2457; $custom-light: #cd6e86; $custom-dark: #000000;
JSON
{
"hex": "#af2457",
"rgb": {
"r": 175,
"g": 36,
"b": 87
},
"hsl": {
"h": 337.986,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.50309,
"c": 0.17659,
"h": 4.7
},
"luminance": 0.11064
}Semantic roles & 50–950 ramp
primary
#AF2457
secondary
#68C7A4
accent
#E9AB3F
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C