#AF2C96#AF2C96
#AF2C96 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.5% C 0.200 H 337.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C96 |
|---|---|
| RGB | rgb(175, 44, 150) |
| HSL | hsl(311, 60%, 43%) |
| HSV | hsv(311, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 14.3%, 31.4%) |
| CIE-LAB | lab(42.94, 62.34, -28.68) |
| CIE-LCH | lch(42.94, 68.62, 335.30°) |
| OKLab | oklab(53.46% 0.1837 -0.078) |
| OKLCH | oklch(53.46% 0.2 337) |
| XYZ | xyz(24.0854, 13.1196, 30.1121) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.08
Medium Purple
#9E43A2
ΔE00 5.09
Warm Purple
#952E8F
ΔE00 5.11
Barney Purple
#A00498
ΔE00 5.85
Mediumvioletred
#C71585
ΔE00 6.47
Barney
#AC1DB8
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C96 #2CAF45
analogous
#862CAF #AF2C96 #AF2C55
triadic
#AF2C96 #96AF2C #2C96AF
tetradic
#AF2C96 #AF862C #2CAF45 #2C55AF
square
#AF2C96 #AF862C #2CAF45 #2C55AF
split-complementary
#AF2C96 #55AF2C #2CAF86
monochromatic
#4D1342 #7E206C #AF2C96 #D147B7 #DD78CA
Accessibility & contrast
On white
5.80
#AF2C96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#AF2C96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C96
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C96 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305999
Deuteranopia (green-blind)
#5D6D93
Tritanopia (blue-blind)
#B8345E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af2c96; /* rgb */ color: rgb(175, 44, 150); /* oklch */ color: oklch(53.5% 0.200 337.0);
Tailwind
colors: {
custom: {
50: '#cb73b5',
500: '#af2c96',
950: '#000000',
},
}SCSS
$custom: #af2c96; $custom-light: #cb73b5; $custom-dark: #000000;
JSON
{
"hex": "#af2c96",
"rgb": {
"r": 175,
"g": 44,
"b": 150
},
"hsl": {
"h": 311.45,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.53457,
"c": 0.19954,
"h": 337
},
"luminance": 0.13117
}Semantic roles & 50–950 ramp
primary
#AF2C96
secondary
#72C582
accent
#E36345
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80