#AF2C73#AF2C73

#AF2C73 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.179 H 352.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF2C73
RGBrgb(175, 44, 115)
HSLhsl(327, 60%, 43%)
HSVhsv(327, 75%, 69%)
CMYKcmyk(0%, 74.9%, 34.3%, 31.4%)
CIE-LABlab(41.46, 57.80, -9.50)
CIE-LCHlch(41.46, 58.57, 350.66°)
OKLaboklab(51.9% 0.1771 -0.0245)
OKLCHoklch(51.9% 0.179 352.1)
XYZxyz(21.6757, 12.1557, 17.4212)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C73 #2CAF68
analogous
#A92CAF #AF2C73 #AF2C31
triadic
#AF2C73 #73AF2C #2C73AF
tetradic
#AF2C73 #AFA92C #2CAF68 #2C31AF
square
#AF2C73 #AFA92C #2CAF68 #2C31AF
split-complementary
#AF2C73 #31AF2C #2CAFA9
monochromatic
#4D1333 #7E2053 #AF2C73 #D14792 #DD78AF

Accessibility & contrast

On white

6.12
#AF2C73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF2C73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C73
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C73#FFFFFF#000000##FFFFFF
##AF2C731.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435375
Deuteranopia (green-blind)
#696A70
Tritanopia (blue-blind)
#BC214C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2c73;
/* rgb */ color: rgb(175, 44, 115);
/* oklch */ color: oklch(51.9% 0.179 352.1);
Tailwind
colors: {
  custom: {
    50: '#cb729b',
    500: '#af2c73',
    950: '#000000',
  },
}
SCSS
$custom: #af2c73;
$custom-light: #cb729b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c73",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 327.481,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51898,
    "c": 0.17875,
    "h": 352.1
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#AF2C73
secondary
#72C598
accent
#E38D45
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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