#AF245A#AF245A
#AF245A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.177 H 3.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AF245A |
|---|---|
| RGB | rgb(175, 36, 90) |
| HSL | hsl(337, 66%, 41%) |
| HSV | hsv(337, 79%, 69%) |
| CMYK | cmyk(0%, 79.4%, 48.6%, 31.4%) |
| CIE-LAB | lab(39.78, 57.76, 3.71) |
| CIE-LCH | lch(39.78, 57.88, 3.68°) |
| OKLab | oklab(50.4% 0.1771 0.0101) |
| OKLCH | oklch(50.4% 0.177 3.3) |
| XYZ | xyz(20.1573, 11.1167, 10.7552) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.71
Raspberry (survey)
#B00149
ΔE00 4.19
Violet Red
#A50055
ΔE00 4.26
Deep Pink
#CB0162
ΔE00 4.87
Light Burgundy
#A8415B
ΔE00 5.13
Berry
#990F4B
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF245A #24AF79
analogous
#AF24A0 #AF245A #AF3424
triadic
#AF245A #5AAF24 #245AAF
tetradic
#AF245A #A0AF24 #24AF79 #3424AF
square
#AF245A #A0AF24 #24AF79 #3424AF
split-complementary
#AF245A #24AF34 #24A0AF
monochromatic
#490F26 #7C1A40 #AF245A #D63A77 #E16D9A
Accessibility & contrast
On white
6.52
#AF245A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AF245A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF245A
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF245A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF245A | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474C5B
Deuteranopia (green-blind)
#6C6757
Tritanopia (blue-blind)
#BF003C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af245a; /* rgb */ color: rgb(175, 36, 90); /* oklch */ color: oklch(50.4% 0.177 3.3);
Tailwind
colors: {
custom: {
50: '#cd6e88',
500: '#af245a',
950: '#000000',
},
}SCSS
$custom: #af245a; $custom-light: #cd6e88; $custom-dark: #000000;
JSON
{
"hex": "#af245a",
"rgb": {
"r": 175,
"g": 36,
"b": 90
},
"hsl": {
"h": 336.691,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.50398,
"c": 0.17736,
"h": 3.3
},
"luminance": 0.11114
}Semantic roles & 50–950 ramp
primary
#AF245A
secondary
#68C7A2
accent
#E9A73F
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C