#AF2C77#AF2C77

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

Color values

HEX#AF2C77
RGBrgb(175, 44, 119)
HSLhsl(326, 60%, 43%)
HSVhsv(326, 75%, 69%)
CMYKcmyk(0%, 74.9%, 32%, 31.4%)
CIE-LABlab(41.61, 58.26, -11.76)
CIE-LCHlch(41.61, 59.43, 348.59°)
OKLaboklab(52.05% 0.1781 -0.0306)
OKLCHoklch(52.05% 0.181 350.2)
XYZxyz(21.9109, 12.2498, 18.6598)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C77 #2CAF64
analogous
#A52CAF #AF2C77 #AF2C35
triadic
#AF2C77 #77AF2C #2C77AF
tetradic
#AF2C77 #AFA52C #2CAF64 #2C35AF
square
#AF2C77 #AFA52C #2CAF64 #2C35AF
split-complementary
#AF2C77 #35AF2C #2CAFA5
monochromatic
#4D1334 #7E2056 #AF2C77 #D14796 #DD78B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2C77#FFFFFF#000000##FFFFFF
##AF2C771.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)
#425379
Deuteranopia (green-blind)
#686B74
Tritanopia (blue-blind)
#BC234E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2c77;
/* rgb */ color: rgb(175, 44, 119);
/* oklch */ color: oklch(52.1% 0.181 350.2);
Tailwind
colors: {
  custom: {
    50: '#cb729e',
    500: '#af2c77',
    950: '#000000',
  },
}
SCSS
$custom: #af2c77;
$custom-light: #cb729e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c77",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 325.649,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.18073,
    "h": 350.2
  },
  "luminance": 0.12247
}

Semantic roles & 50–950 ramp

primary
#AF2C77
secondary
#72C595
accent
#E38845
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2C77

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

Preview Lab → · Contrast checker → · Palette generator →

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