#AF2573#AF2573

#AF2573 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.186 H 351.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AF2573
RGBrgb(175, 37, 115)
HSLhsl(326, 65%, 42%)
HSVhsv(326, 79%, 69%)
CMYKcmyk(0%, 78.9%, 34.3%, 31.4%)
CIE-LABlab(40.70, 59.96, -10.65)
CIE-LCHlch(40.70, 60.90, 349.92°)
OKLaboklab(51.34% 0.1839 -0.0276)
OKLCHoklch(51.34% 0.186 351.5)
XYZxyz(21.4366, 11.6775, 17.3415)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2573 #25AF61
analogous
#A625AF #AF2573 #AF252E
triadic
#AF2573 #73AF25 #2573AF
tetradic
#AF2573 #AFA625 #25AF61 #252EAF
square
#AF2573 #AFA625 #25AF61 #252EAF
split-complementary
#AF2573 #2EAF25 #25AFA6
monochromatic
#4A1031 #7C1A52 #AF2573 #D63C93 #E06EAF

Accessibility & contrast

On white

6.30
#AF2573 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF2573 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2573
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2573#FFFFFF#000000##FFFFFF
##AF25731.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5075
Deuteranopia (green-blind)
#676970
Tritanopia (blue-blind)
#BD1849
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2573;
/* rgb */ color: rgb(175, 37, 115);
/* oklch */ color: oklch(51.3% 0.186 351.5);
Tailwind
colors: {
  custom: {
    50: '#cc6f9b',
    500: '#af2573',
    950: '#000000',
  },
}
SCSS
$custom: #af2573;
$custom-light: #cc6f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2573",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 326.087,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.18596,
    "h": 351.5
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#AF2573
secondary
#69C792
accent
#E88940
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2573

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AF2573 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva