#AF245C#AF245C
#AF245C is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.178 H 2.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AF245C |
|---|---|
| RGB | rgb(175, 36, 92) |
| HSL | hsl(336, 66%, 41%) |
| HSV | hsv(336, 79%, 69%) |
| CMYK | cmyk(0%, 79.4%, 47.4%, 31.4%) |
| CIE-LAB | lab(39.83, 57.93, 2.53) |
| CIE-LCH | lch(39.83, 57.99, 2.50°) |
| OKLab | oklab(50.46% 0.1778 0.0071) |
| OKLCH | oklch(50.46% 0.178 2.3) |
| XYZ | xyz(20.2435, 11.1512, 11.2096) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.11
Purplish Red
#B0054B
ΔE00 4.18
Raspberry (survey)
#B00149
ΔE00 4.67
Deep Pink
#CB0162
ΔE00 4.87
Light Burgundy
#A8415B
ΔE00 5.40
Berry
#990F4B
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF245C #24AF77
analogous
#AF24A2 #AF245C #AF3124
triadic
#AF245C #5CAF24 #245CAF
tetradic
#AF245C #A2AF24 #24AF77 #3124AF
square
#AF245C #A2AF24 #24AF77 #3124AF
split-complementary
#AF245C #24AF31 #24A2AF
monochromatic
#490F27 #7C1A41 #AF245C #D63A79 #E16D9B
Accessibility & contrast
On white
6.50
#AF245C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF245C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF245C
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF245C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF245C | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464D5D
Deuteranopia (green-blind)
#6B6759
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af245c; /* rgb */ color: rgb(175, 36, 92); /* oklch */ color: oklch(50.5% 0.178 2.3);
Tailwind
colors: {
custom: {
50: '#cd6e89',
500: '#af245c',
950: '#000000',
},
}SCSS
$custom: #af245c; $custom-light: #cd6e89; $custom-dark: #000000;
JSON
{
"hex": "#af245c",
"rgb": {
"r": 175,
"g": 36,
"b": 92
},
"hsl": {
"h": 335.827,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.50459,
"c": 0.17792,
"h": 2.3
},
"luminance": 0.11148
}Semantic roles & 50–950 ramp
primary
#AF245C
secondary
#68C7A1
accent
#E9A43F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C