#AF4879#AF4879

#AF4879 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.2% C 0.144 H 353.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF4879
RGBrgb(175, 72, 121)
HSLhsl(331, 42%, 48%)
HSVhsv(331, 59%, 69%)
CMYKcmyk(0%, 58.9%, 30.9%, 31.4%)
CIE-LABlab(45.81, 47.15, -6.68)
CIE-LCHlch(45.81, 47.62, 351.94°)
OKLaboklab(55.18% 0.1433 -0.0171)
OKLCHoklch(55.18% 0.144 353.2)
XYZxyz(23.4488, 15.1315, 19.7712)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4879 #48AF7E
analogous
#AF48AC #AF4879 #AF4A48
triadic
#AF4879 #79AF48 #4879AF
tetradic
#AF4879 #ACAF48 #48AF7E #4A48AF
square
#AF4879 #ACAF48 #48AF7E #4A48AF
split-complementary
#AF4879 #48AF4A #48ACAF
monochromatic
#58243D #84365B #AF4879 #C47098 #D69BB7

Accessibility & contrast

On white

5.22
#AF4879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF4879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4879
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4879#FFFFFF#000000##FFFFFF
##AF48791.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57617B
Deuteranopia (green-blind)
#727377
Tritanopia (blue-blind)
#BB425B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4879;
/* rgb */ color: rgb(175, 72, 121);
/* oklch */ color: oklch(55.2% 0.144 353.2);
Tailwind
colors: {
  custom: {
    50: '#ca809f',
    500: '#af4879',
    950: '#000000',
  },
}
SCSS
$custom: #af4879;
$custom-light: #ca809f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4879",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 331.456,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55177,
    "c": 0.14431,
    "h": 353.2
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#AF4879
secondary
#90C2AB
accent
#D29756
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4879

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

Preview Lab → · Contrast checker → · Palette generator →

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