#AF4079#AF4079

#AF4079 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.2% C 0.156 H 351.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF4079
RGBrgb(175, 64, 121)
HSLhsl(329, 46%, 47%)
HSVhsv(329, 63%, 69%)
CMYKcmyk(0%, 63.4%, 30.9%, 31.4%)
CIE-LABlab(44.47, 50.79, -8.69)
CIE-LCHlch(44.47, 51.53, 350.29°)
OKLaboklab(54.18% 0.1546 -0.0224)
OKLCHoklch(54.18% 0.156 351.7)
XYZxyz(22.9649, 14.1636, 19.6099)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4079 #40AF76
analogous
#AE40AF #AF4079 #AF4042
triadic
#AF4079 #79AF40 #4079AF
tetradic
#AF4079 #AFAE40 #40AF76 #4042AF
square
#AF4079 #AFAE40 #40AF76 #4042AF
split-complementary
#AF4079 #42AF40 #40AFAE
monochromatic
#551F3B #82305A #AF4079 #C76597 #D792B6

Accessibility & contrast

On white

5.48
#AF4079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF4079 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4079
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4079#FFFFFF#000000##FFFFFF
##AF40791.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7B
Deuteranopia (green-blind)
#6F7176
Tritanopia (blue-blind)
#BC3A57
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4079;
/* rgb */ color: rgb(175, 64, 121);
/* oklch */ color: oklch(54.2% 0.156 351.7);
Tailwind
colors: {
  custom: {
    50: '#ca7b9f',
    500: '#af4079',
    950: '#000000',
  },
}
SCSS
$custom: #af4079;
$custom-light: #ca7b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4079",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 329.189,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54178,
    "c": 0.15618,
    "h": 351.7
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#AF4079
secondary
#88C3A5
accent
#D69252
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4079

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

Preview Lab → · Contrast checker → · Palette generator →

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