#AF5979#AF5979

#AF5979 is a mid, moderate pink. Relative luminance 0.176; OKLCH L 57.6% C 0.117 H 357.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF5979
RGBrgb(175, 89, 121)
HSLhsl(338, 35%, 52%)
HSVhsv(338, 49%, 69%)
CMYKcmyk(0%, 49.1%, 30.9%, 31.4%)
CIE-LABlab(49.06, 38.67, -1.88)
CIE-LCHlch(49.06, 38.71, 357.22°)
OKLaboklab(57.61% 0.1172 -0.0044)
OKLCHoklch(57.61% 0.117 357.8)
XYZxyz(24.7037, 17.6414, 20.1895)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5979 #59AF8F
analogous
#AF59A4 #AF5979 #AF6459
triadic
#AF5979 #79AF59 #5979AF
tetradic
#AF5979 #A4AF59 #59AF8F #6459AF
square
#AF5979 #A4AF59 #59AF8F #6459AF
split-complementary
#AF5979 #59AF64 #59A4AF
monochromatic
#602E40 #89425C #AF5979 #C3829A #D7ACBC

Accessibility & contrast

On white

4.64
#AF5979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AF5979 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5979
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5979#FFFFFF#000000##FFFFFF
##AF59791.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656B7A
Deuteranopia (green-blind)
#7C7A77
Tritanopia (blue-blind)
#BB5465
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af5979;
/* rgb */ color: rgb(175, 89, 121);
/* oklch */ color: oklch(57.6% 0.117 357.8);
Tailwind
colors: {
  custom: {
    50: '#c98a9f',
    500: '#af5979',
    950: '#000000',
  },
}
SCSS
$custom: #af5979;
$custom-light: #c98a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#af5979",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 121
  },
  "hsl": {
    "h": 337.674,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57606,
    "c": 0.11729,
    "h": 357.8
  },
  "luminance": 0.17639
}

Semantic roles & 50–950 ramp

primary
#AF5979
secondary
#9FC5B7
accent
#CBA25D
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#130C0E
muted
#827D7E

Preview Lab

Preview with #AF5979

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

Preview Lab → · Contrast checker → · Palette generator →

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