#AF4979#AF4979

#AF4979 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.3% C 0.143 H 353.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF4979
RGBrgb(175, 73, 121)
HSLhsl(332, 41%, 49%)
HSVhsv(332, 58%, 69%)
CMYKcmyk(0%, 58.3%, 30.9%, 31.4%)
CIE-LABlab(45.99, 46.68, -6.41)
CIE-LCHlch(45.99, 47.12, 352.18°)
OKLaboklab(55.31% 0.1418 -0.0164)
OKLCHoklch(55.31% 0.143 353.4)
XYZxyz(23.5140, 15.2619, 19.7929)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4979 #49AF7F
analogous
#AF49AC #AF4979 #AF4C49
triadic
#AF4979 #79AF49 #4979AF
tetradic
#AF4979 #ACAF49 #49AF7F #4C49AF
square
#AF4979 #ACAF49 #49AF7F #4C49AF
split-complementary
#AF4979 #49AF4C #49ACAF
monochromatic
#59253D #84375B #AF4979 #C47198 #D69CB8

Accessibility & contrast

On white

5.18
#AF4979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF4979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4979
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4979#FFFFFF#000000##FFFFFF
##AF49791.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57617A
Deuteranopia (green-blind)
#737477
Tritanopia (blue-blind)
#BB435C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4979;
/* rgb */ color: rgb(175, 73, 121);
/* oklch */ color: oklch(55.3% 0.143 353.4);
Tailwind
colors: {
  custom: {
    50: '#ca809f',
    500: '#af4979',
    950: '#000000',
  },
}
SCSS
$custom: #af4979;
$custom-light: #ca809f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4979",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 331.765,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55308,
    "c": 0.14278,
    "h": 353.4
  },
  "luminance": 0.1526
}

Semantic roles & 50–950 ramp

primary
#AF4979
secondary
#91C2AB
accent
#D19757
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4979

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

Preview Lab → · Contrast checker → · Palette generator →

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