#AF3E79#AF3E79

#AF3E79 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.9% C 0.159 H 351.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AF3E79
RGBrgb(175, 62, 121)
HSLhsl(329, 48%, 46%)
HSVhsv(329, 65%, 69%)
CMYKcmyk(0%, 64.6%, 30.9%, 31.4%)
CIE-LABlab(44.15, 51.65, -9.17)
CIE-LCHlch(44.15, 52.46, 349.93°)
OKLaboklab(53.94% 0.1572 -0.0237)
OKLCHoklch(53.94% 0.159 351.4)
XYZxyz(22.8541, 13.9421, 19.5730)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E79 #3EAF74
analogous
#AD3EAF #AF3E79 #AF3E41
triadic
#AF3E79 #79AF3E #3E79AF
tetradic
#AF3E79 #AFAD3E #3EAF74 #3E41AF
square
#AF3E79 #AFAD3E #3EAF74 #3E41AF
split-complementary
#AF3E79 #41AF3E #3EAFAD
monochromatic
#551E3B #822E5A #AF3E79 #C86397 #D890B5

Accessibility & contrast

On white

5.54
#AF3E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF3E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E79
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E79#FFFFFF#000000##FFFFFF
##AF3E791.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7B
Deuteranopia (green-blind)
#6E7076
Tritanopia (blue-blind)
#BC3856
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3e79;
/* rgb */ color: rgb(175, 62, 121);
/* oklch */ color: oklch(53.9% 0.159 351.4);
Tailwind
colors: {
  custom: {
    50: '#cb7a9f',
    500: '#af3e79',
    950: '#000000',
  },
}
SCSS
$custom: #af3e79;
$custom-light: #cb7a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e79",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 328.673,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53943,
    "c": 0.15902,
    "h": 351.4
  },
  "luminance": 0.1394
}

Semantic roles & 50–950 ramp

primary
#AF3E79
secondary
#86C3A3
accent
#D79151
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3E79

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

Preview Lab → · Contrast checker → · Palette generator →

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