#AF3979#AF3979

#AF3979 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.4% C 0.166 H 350.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF3979
RGBrgb(175, 57, 121)
HSLhsl(327, 51%, 45%)
HSVhsv(327, 67%, 69%)
CMYKcmyk(0%, 67.4%, 30.9%, 31.4%)
CIE-LABlab(43.39, 53.73, -10.30)
CIE-LCHlch(43.39, 54.71, 349.14°)
OKLaboklab(53.39% 0.1637 -0.0268)
OKLCHoklch(53.39% 0.166 350.7)
XYZxyz(22.5946, 13.4231, 19.4865)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3979 #39AF6F
analogous
#AA39AF #AF3979 #AF393E
triadic
#AF3979 #79AF39 #3979AF
tetradic
#AF3979 #AFAA39 #39AF6F #393EAF
square
#AF3979 #AFAA39 #39AF6F #393EAF
split-complementary
#AF3979 #3EAF39 #39AFAA
monochromatic
#531B39 #812A59 #AF3979 #CA5B97 #D98AB5

Accessibility & contrast

On white

5.70
#AF3979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AF3979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3979
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3979#FFFFFF#000000##FFFFFF
##AF39791.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597B
Deuteranopia (green-blind)
#6C6E76
Tritanopia (blue-blind)
#BC3354
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3979;
/* rgb */ color: rgb(175, 57, 121);
/* oklch */ color: oklch(53.4% 0.166 350.7);
Tailwind
colors: {
  custom: {
    50: '#cb789f',
    500: '#af3979',
    950: '#000000',
  },
}
SCSS
$custom: #af3979;
$custom-light: #cb789f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3979",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 327.458,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53386,
    "c": 0.16588,
    "h": 350.7
  },
  "luminance": 0.13421
}

Semantic roles & 50–950 ramp

primary
#AF3979
secondary
#81C39F
accent
#DA8E4D
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AF3979

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

Preview Lab → · Contrast checker → · Palette generator →

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