#AF245B#AF245B
#AF245B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.178 H 2.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF245B |
|---|---|
| RGB | rgb(175, 36, 91) |
| HSL | hsl(336, 66%, 41%) |
| HSV | hsv(336, 79%, 69%) |
| CMYK | cmyk(0%, 79.4%, 48%, 31.4%) |
| CIE-LAB | lab(39.80, 57.85, 3.12) |
| CIE-LCH | lch(39.80, 57.93, 3.09°) |
| OKLab | oklab(50.43% 0.1774 0.0086) |
| OKLCH | oklch(50.43% 0.178 2.8) |
| XYZ | xyz(20.2001, 11.1338, 10.9809) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.94
Violet Red
#A50055
ΔE00 4.17
Raspberry (survey)
#B00149
ΔE00 4.43
Deep Pink
#CB0162
ΔE00 4.86
Light Burgundy
#A8415B
ΔE00 5.26
Berry
#990F4B
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF245B #24AF78
analogous
#AF24A1 #AF245B #AF3324
triadic
#AF245B #5BAF24 #245BAF
tetradic
#AF245B #A1AF24 #24AF78 #3324AF
square
#AF245B #A1AF24 #24AF78 #3324AF
split-complementary
#AF245B #24AF33 #24A1AF
monochromatic
#490F26 #7C1A41 #AF245B #D63A78 #E16D9B
Accessibility & contrast
On white
6.51
#AF245B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF245B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF245B
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF245B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF245B | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474D5C
Deuteranopia (green-blind)
#6C6758
Tritanopia (blue-blind)
#BF003D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af245b; /* rgb */ color: rgb(175, 36, 91); /* oklch */ color: oklch(50.4% 0.178 2.8);
Tailwind
colors: {
custom: {
50: '#cd6e89',
500: '#af245b',
950: '#000000',
},
}SCSS
$custom: #af245b; $custom-light: #cd6e89; $custom-dark: #000000;
JSON
{
"hex": "#af245b",
"rgb": {
"r": 175,
"g": 36,
"b": 91
},
"hsl": {
"h": 336.259,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.50428,
"c": 0.17764,
"h": 2.8
},
"luminance": 0.11131
}Semantic roles & 50–950 ramp
primary
#AF245B
secondary
#68C7A1
accent
#E9A63F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C