#AF2F72#AF2F72
#AF2F72 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.175 H 352.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F72 |
|---|---|
| RGB | rgb(175, 47, 114) |
| HSL | hsl(329, 58%, 44%) |
| HSV | hsv(329, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 34.9%, 31.4%) |
| CIE-LAB | lab(41.79, 56.66, -8.39) |
| CIE-LCH | lch(41.79, 57.28, 351.58°) |
| OKLab | oklab(52.13% 0.1736 -0.0215) |
| OKLCH | oklch(52.13% 0.175 352.9) |
| XYZ | xyz(21.7343, 12.3645, 17.1584) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.75
Mediumvioletred
#C71585
ΔE00 5.07
Deep Magenta
#A0025C
ΔE00 6.43
Red Violet
#9E0168
ΔE00 6.60
Dark Fuchsia
#9D0759
ΔE00 6.88
Violet Red
#A50055
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F72 #2FAF6C
analogous
#AC2FAF #AF2F72 #AF2F32
triadic
#AF2F72 #72AF2F #2F72AF
tetradic
#AF2F72 #AFAC2F #2FAF6C #2F32AF
square
#AF2F72 #AFAC2F #2FAF6C #2F32AF
split-complementary
#AF2F72 #32AF2F #2FAFAC
monochromatic
#4F1533 #7F2253 #AF2F72 #CF4C91 #DC7CAE
Accessibility & contrast
On white
6.05
#AF2F72 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#AF2F72 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F72
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F72 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465474
Deuteranopia (green-blind)
#6A6B6F
Tritanopia (blue-blind)
#BD244C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #af2f72; /* rgb */ color: rgb(175, 47, 114); /* oklch */ color: oklch(52.1% 0.175 352.9);
Tailwind
colors: {
custom: {
50: '#cb739a',
500: '#af2f72',
950: '#000000',
},
}SCSS
$custom: #af2f72; $custom-light: #cb739a; $custom-dark: #000000;
JSON
{
"hex": "#af2f72",
"rgb": {
"r": 175,
"g": 47,
"b": 114
},
"hsl": {
"h": 328.594,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.52126,
"c": 0.1749,
"h": 352.9
},
"luminance": 0.12362
}Semantic roles & 50–950 ramp
primary
#AF2F72
secondary
#75C49B
accent
#E19047
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E