#AF4C76#AF4C76

#AF4C76 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.6% C 0.137 H 355.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF4C76
RGBrgb(175, 76, 118)
HSLhsl(335, 39%, 49%)
HSVhsv(335, 57%, 69%)
CMYKcmyk(0%, 56.6%, 32.6%, 31.4%)
CIE-LABlab(46.44, 44.85, -3.93)
CIE-LCHlch(46.44, 45.02, 354.99°)
OKLaboklab(55.61% 0.1364 -0.0098)
OKLCHoklch(55.61% 0.137 355.9)
XYZxyz(23.5348, 15.5932, 18.9064)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4C76 #4CAF85
analogous
#AF4CA8 #AF4C76 #AF544C
triadic
#AF4C76 #76AF4C #4C76AF
tetradic
#AF4C76 #A8AF4C #4CAF85 #544CAF
square
#AF4C76 #A8AF4C #4CAF85 #544CAF
split-complementary
#AF4C76 #4CAF54 #4CA8AF
monochromatic
#5A273C #843959 #AF4C76 #C37596 #D6A0B7

Accessibility & contrast

On white

5.10
#AF4C76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AF4C76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4C76
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4C76#FFFFFF#000000##FFFFFF
##AF4C761.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6377
Deuteranopia (green-blind)
#757574
Tritanopia (blue-blind)
#BC465C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4c76;
/* rgb */ color: rgb(175, 76, 118);
/* oklch */ color: oklch(55.6% 0.137 355.9);
Tailwind
colors: {
  custom: {
    50: '#ca829d',
    500: '#af4c76',
    950: '#000000',
  },
}
SCSS
$custom: #af4c76;
$custom-light: #ca829d;
$custom-dark: #000000;
JSON
{
  "hex": "#af4c76",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 118
  },
  "hsl": {
    "h": 334.545,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55608,
    "c": 0.13675,
    "h": 355.9
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#AF4C76
secondary
#94C2AF
accent
#CF9D58
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4C76

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

Preview Lab → · Contrast checker → · Palette generator →

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