#AF2456#AF2456
#AF2456 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.176 H 5.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2456 |
|---|---|
| RGB | rgb(175, 36, 86) |
| HSL | hsl(338, 66%, 41%) |
| HSV | hsv(338, 79%, 69%) |
| CMYK | cmyk(0%, 79.4%, 50.9%, 31.4%) |
| CIE-LAB | lab(39.67, 57.42, 6.09) |
| CIE-LCH | lch(39.67, 57.74, 6.06°) |
| OKLab | oklab(50.28% 0.1756 0.016) |
| OKLCH | oklch(50.28% 0.176 5.2) |
| XYZ | xyz(19.9916, 11.0504, 9.8825) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.88
Raspberry (survey)
#B00149
ΔE00 3.31
Light Burgundy
#A8415B
ΔE00 4.76
Violet Red
#A50055
ΔE00 4.77
Deep Pink
#CB0162
ΔE00 5.07
Berry
#990F4B
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2456 #24AF7D
analogous
#AF249C #AF2456 #AF3724
triadic
#AF2456 #56AF24 #2456AF
tetradic
#AF2456 #9CAF24 #24AF7D #3724AF
square
#AF2456 #9CAF24 #24AF7D #3724AF
split-complementary
#AF2456 #24AF37 #249CAF
monochromatic
#490F24 #7C1A3D #AF2456 #D63A72 #E16D96
Accessibility & contrast
On white
6.54
#AF2456 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2456 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2456
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2456 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2456 | 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)
#484C57
Deuteranopia (green-blind)
#6C6753
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2456; /* rgb */ color: rgb(175, 36, 86); /* oklch */ color: oklch(50.3% 0.176 5.2);
Tailwind
colors: {
custom: {
50: '#cd6d85',
500: '#af2456',
950: '#000000',
},
}SCSS
$custom: #af2456; $custom-light: #cd6d85; $custom-dark: #000000;
JSON
{
"hex": "#af2456",
"rgb": {
"r": 175,
"g": 36,
"b": 86
},
"hsl": {
"h": 338.417,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.5028,
"c": 0.17635,
"h": 5.2
},
"luminance": 0.11048
}Semantic roles & 50–950 ramp
primary
#AF2456
secondary
#68C7A5
accent
#E9AC3F
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C