#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
RGBrgb(175, 47, 115)
HSLhsl(328, 58%, 44%)
HSVhsv(328, 73%, 69%)
CMYKcmyk(0%, 73.1%, 34.3%, 31.4%)
CIE-LABlab(41.83, 56.78, -8.96)
CIE-LCHlch(41.83, 57.48, 351.03°)
OKLaboklab(52.16% 0.1739 -0.023)
OKLCHoklch(52.16% 0.175 352.4)
XYZxyz(21.7915, 12.3874, 17.4598)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##AF2F731.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.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

Preview Lab

Preview with #AF2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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