#AF2A73#AF2A73

#AF2A73 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.181 H 351.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AF2A73
RGBrgb(175, 42, 115)
HSLhsl(327, 61%, 43%)
HSVhsv(327, 76%, 69%)
CMYKcmyk(0%, 76%, 34.3%, 31.4%)
CIE-LABlab(41.23, 58.45, -9.85)
CIE-LCHlch(41.23, 59.27, 350.43°)
OKLaboklab(51.73% 0.1791 -0.0254)
OKLCHoklch(51.73% 0.181 351.9)
XYZxyz(21.6030, 12.0103, 17.3969)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A73 #2AAF66
analogous
#A92AAF #AF2A73 #AF2A30
triadic
#AF2A73 #73AF2A #2A73AF
tetradic
#AF2A73 #AFA92A #2AAF66 #2A30AF
square
#AF2A73 #AFA92A #2AAF66 #2A30AF
split-complementary
#AF2A73 #30AF2A #2AAFA9
monochromatic
#4C1232 #7E1E53 #AF2A73 #D24492 #DE75AF

Accessibility & contrast

On white

6.17
#AF2A73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF2A73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A73
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A73#FFFFFF#000000##FFFFFF
##AF2A731.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425275
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#BC1E4B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2a73;
/* rgb */ color: rgb(175, 42, 115);
/* oklch */ color: oklch(51.7% 0.181 351.9);
Tailwind
colors: {
  custom: {
    50: '#cc719b',
    500: '#af2a73',
    950: '#000000',
  },
}
SCSS
$custom: #af2a73;
$custom-light: #cc719b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a73",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 327.068,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5173,
    "c": 0.18091,
    "h": 351.9
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#AF2A73
secondary
#6FC696
accent
#E48C43
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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