#AF4976#AF4976

#AF4976 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.2% C 0.141 H 355.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF4976
RGBrgb(175, 73, 118)
HSLhsl(334, 41%, 49%)
HSVhsv(334, 58%, 69%)
CMYKcmyk(0%, 58.3%, 32.6%, 31.4%)
CIE-LABlab(45.89, 46.30, -4.73)
CIE-LCHlch(45.89, 46.54, 354.16°)
OKLaboklab(55.2% 0.1409 -0.0119)
OKLCHoklch(55.2% 0.141 355.2)
XYZxyz(23.3329, 15.1894, 18.8391)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4976 #49AF82
analogous
#AF49A9 #AF4976 #AF4F49
triadic
#AF4976 #76AF49 #4976AF
tetradic
#AF4976 #A9AF49 #49AF82 #4F49AF
square
#AF4976 #A9AF49 #49AF82 #4F49AF
split-complementary
#AF4976 #49AF4F #49A9AF
monochromatic
#59253C #843759 #AF4976 #C47196 #D69CB6

Accessibility & contrast

On white

5.20
#AF4976 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF4976 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4976
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4976#FFFFFF#000000##FFFFFF
##AF49761.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586177
Deuteranopia (green-blind)
#747474
Tritanopia (blue-blind)
#BC425A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4976;
/* rgb */ color: rgb(175, 73, 118);
/* oklch */ color: oklch(55.2% 0.141 355.2);
Tailwind
colors: {
  custom: {
    50: '#ca809d',
    500: '#af4976',
    950: '#000000',
  },
}
SCSS
$custom: #af4976;
$custom-light: #ca809d;
$custom-dark: #000000;
JSON
{
  "hex": "#af4976",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 118
  },
  "hsl": {
    "h": 333.529,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.14137,
    "h": 355.2
  },
  "luminance": 0.15187
}

Semantic roles & 50–950 ramp

primary
#AF4976
secondary
#91C2AD
accent
#D19B57
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4976

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

Preview Lab → · Contrast checker → · Palette generator →

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