#AF2C79#AF2C79

#AF2C79 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.182 H 349.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AF2C79
RGBrgb(175, 44, 121)
HSLhsl(325, 60%, 43%)
HSVhsv(325, 75%, 69%)
CMYKcmyk(0%, 74.9%, 30.9%, 31.4%)
CIE-LABlab(41.69, 58.50, -12.89)
CIE-LCHlch(41.69, 59.90, 347.58°)
OKLaboklab(52.14% 0.1786 -0.0337)
OKLCHoklch(52.14% 0.182 349.3)
XYZxyz(22.0322, 12.2983, 19.2990)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C79 #2CAF62
analogous
#A32CAF #AF2C79 #AF2C37
triadic
#AF2C79 #79AF2C #2C79AF
tetradic
#AF2C79 #AFA32C #2CAF62 #2C37AF
square
#AF2C79 #AFA32C #2CAF62 #2C37AF
split-complementary
#AF2C79 #37AF2C #2CAFA3
monochromatic
#4D1335 #7E2057 #AF2C79 #D14798 #DD78B4

Accessibility & contrast

On white

6.07
#AF2C79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF2C79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C79
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C79#FFFFFF#000000##FFFFFF
##AF2C791.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547B
Deuteranopia (green-blind)
#676B76
Tritanopia (blue-blind)
#BC244F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2c79;
/* rgb */ color: rgb(175, 44, 121);
/* oklch */ color: oklch(52.1% 0.182 349.3);
Tailwind
colors: {
  custom: {
    50: '#cb729f',
    500: '#af2c79',
    950: '#000000',
  },
}
SCSS
$custom: #af2c79;
$custom-light: #cb729f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c79",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 324.733,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.18177,
    "h": 349.3
  },
  "luminance": 0.12296
}

Semantic roles & 50–950 ramp

primary
#AF2C79
secondary
#72C594
accent
#E38645
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2C79

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

Preview Lab → · Contrast checker → · Palette generator →

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