#AF4E76#AF4E76

#AF4E76 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 55.9% C 0.134 H 356.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AF4E76
RGBrgb(175, 78, 118)
HSLhsl(335, 38%, 50%)
HSVhsv(335, 55%, 69%)
CMYKcmyk(0%, 55.4%, 32.6%, 31.4%)
CIE-LABlab(46.81, 43.87, -3.38)
CIE-LCHlch(46.81, 44.00, 355.59°)
OKLaboklab(55.89% 0.1334 -0.0083)
OKLCHoklch(55.89% 0.134 356.4)
XYZxyz(23.6747, 15.8731, 18.9530)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E76 #4EAF87
analogous
#AF4EA7 #AF4E76 #AF574E
triadic
#AF4E76 #76AF4E #4E76AF
tetradic
#AF4E76 #A7AF4E #4EAF87 #574EAF
square
#AF4E76 #A7AF4E #4EAF87 #574EAF
split-complementary
#AF4E76 #4EAF57 #4EA7AF
monochromatic
#5A283D #853B59 #AF4E76 #C37897 #D6A2B7

Accessibility & contrast

On white

5.03
#AF4E76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AF4E76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E76
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E76#FFFFFF#000000##FFFFFF
##AF4E761.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6477
Deuteranopia (green-blind)
#767674
Tritanopia (blue-blind)
#BC485D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4e76;
/* rgb */ color: rgb(175, 78, 118);
/* oklch */ color: oklch(55.9% 0.134 356.4);
Tailwind
colors: {
  custom: {
    50: '#ca839d',
    500: '#af4e76',
    950: '#000000',
  },
}
SCSS
$custom: #af4e76;
$custom-light: #ca839d;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e76",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 118
  },
  "hsl": {
    "h": 335.258,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55886,
    "c": 0.13364,
    "h": 356.4
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#AF4E76
secondary
#96C3B0
accent
#CE9E5A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4E76

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

Preview Lab → · Contrast checker → · Palette generator →

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