#AF2F73#AF2F73
#AF2F73 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.175 H 352.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F73 |
|---|---|
| RGB | rgb(175, 47, 115) |
| HSL | hsl(328, 58%, 44%) |
| HSV | hsv(328, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 34.3%, 31.4%) |
| CIE-LAB | lab(41.83, 56.78, -8.96) |
| CIE-LCH | lch(41.83, 57.48, 351.03°) |
| OKLab | oklab(52.16% 0.1739 -0.023) |
| OKLCH | oklch(52.16% 0.175 352.4) |
| XYZ | xyz(21.7915, 12.3874, 17.4598) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.70
Mediumvioletred
#C71585
ΔE00 4.93
Deep Magenta
#A0025C
ΔE00 6.51
Red Violet
#9E0168
ΔE00 6.55
Dark Fuchsia
#9D0759
ΔE00 6.98
Violet Red
#A50055
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F73 #2FAF6B
analogous
#AB2FAF #AF2F73 #AF2F33
triadic
#AF2F73 #73AF2F #2F73AF
tetradic
#AF2F73 #AFAB2F #2FAF6B #2F33AF
square
#AF2F73 #AFAB2F #2FAF6B #2F33AF
split-complementary
#AF2F73 #33AF2F #2FAFAB
monochromatic
#4F1534 #7F2253 #AF2F73 #CF4C92 #DC7CAF
Accessibility & contrast
On white
6.04
#AF2F73 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#AF2F73 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F73
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F73 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455475
Deuteranopia (green-blind)
#6A6B70
Tritanopia (blue-blind)
#BC254D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #af2f73; /* rgb */ color: rgb(175, 47, 115); /* oklch */ color: oklch(52.2% 0.175 352.4);
Tailwind
colors: {
custom: {
50: '#cb739b',
500: '#af2f73',
950: '#000000',
},
}SCSS
$custom: #af2f73; $custom-light: #cb739b; $custom-dark: #000000;
JSON
{
"hex": "#af2f73",
"rgb": {
"r": 175,
"g": 47,
"b": 115
},
"hsl": {
"h": 328.125,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.52164,
"c": 0.17537,
"h": 352.4
},
"luminance": 0.12385
}Semantic roles & 50–950 ramp
primary
#AF2F73
secondary
#75C49A
accent
#E18F47
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E