#AF5079#AF5079

#AF5079 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.3% C 0.132 H 355.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF5079
RGBrgb(175, 80, 121)
HSLhsl(334, 37%, 50%)
HSVhsv(334, 54%, 69%)
CMYKcmyk(0%, 54.3%, 30.9%, 31.4%)
CIE-LABlab(47.28, 43.27, -4.50)
CIE-LCHlch(47.28, 43.50, 354.06°)
OKLaboklab(56.27% 0.1313 -0.0113)
OKLCHoklch(56.27% 0.132 355.1)
XYZxyz(24.0001, 16.2340, 19.9550)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5079 #50AF86
analogous
#AF50A9 #AF5079 #AF5650
triadic
#AF5079 #79AF50 #5079AF
tetradic
#AF5079 #A9AF50 #50AF86 #5650AF
square
#AF5079 #A9AF50 #50AF86 #5650AF
split-complementary
#AF5079 #50AF56 #50A9AF
monochromatic
#5B2A3F #853D5C #AF5079 #C27A99 #D5A4B9

Accessibility & contrast

On white

4.95
#AF5079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF5079 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5079
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5079#FFFFFF#000000##FFFFFF
##AF50791.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D657A
Deuteranopia (green-blind)
#777777
Tritanopia (blue-blind)
#BB4A5F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af5079;
/* rgb */ color: rgb(175, 80, 121);
/* oklch */ color: oklch(56.3% 0.132 355.1);
Tailwind
colors: {
  custom: {
    50: '#ca859f',
    500: '#af5079',
    950: '#000000',
  },
}
SCSS
$custom: #af5079;
$custom-light: #ca859f;
$custom-dark: #000000;
JSON
{
  "hex": "#af5079",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 121
  },
  "hsl": {
    "h": 334.105,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.56271,
    "c": 0.13182,
    "h": 355.1
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#AF5079
secondary
#98C3B0
accent
#CD9C5B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF5079

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

Preview Lab → · Contrast checker → · Palette generator →

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