#AF2D73#AF2D73

#AF2D73 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.178 H 352.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AF2D73
RGBrgb(175, 45, 115)
HSLhsl(328, 59%, 43%)
HSVhsv(328, 74%, 69%)
CMYKcmyk(0%, 74.3%, 34.3%, 31.4%)
CIE-LABlab(41.58, 57.46, -9.32)
CIE-LCHlch(41.58, 58.21, 350.78°)
OKLaboklab(51.99% 0.176 -0.024)
OKLCHoklch(51.99% 0.178 352.2)
XYZxyz(21.7134, 12.2311, 17.4337)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D73 #2DAF69
analogous
#AA2DAF #AF2D73 #AF2D32
triadic
#AF2D73 #73AF2D #2D73AF
tetradic
#AF2D73 #AFAA2D #2DAF69 #2D32AF
square
#AF2D73 #AFAA2D #2DAF69 #2D32AF
split-complementary
#AF2D73 #32AF2D #2DAFAA
monochromatic
#4E1433 #7E2053 #AF2D73 #D04992 #DD7AAF

Accessibility & contrast

On white

6.09
#AF2D73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AF2D73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D73
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D73#FFFFFF#000000##FFFFFF
##AF2D731.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445375
Deuteranopia (green-blind)
#696B70
Tritanopia (blue-blind)
#BC224C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2d73;
/* rgb */ color: rgb(175, 45, 115);
/* oklch */ color: oklch(52.0% 0.178 352.2);
Tailwind
colors: {
  custom: {
    50: '#cb729b',
    500: '#af2d73',
    950: '#000000',
  },
}
SCSS
$custom: #af2d73;
$custom-light: #cb729b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d73",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 327.692,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51985,
    "c": 0.17764,
    "h": 352.2
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#AF2D73
secondary
#73C599
accent
#E28E46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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