#AF3D79#AF3D79

#AF3D79 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.8% C 0.160 H 351.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AF3D79
RGBrgb(175, 61, 121)
HSLhsl(328, 48%, 46%)
HSVhsv(328, 65%, 69%)
CMYKcmyk(0%, 65.1%, 30.9%, 31.4%)
CIE-LABlab(43.99, 52.08, -9.40)
CIE-LCHlch(43.99, 52.92, 349.77°)
OKLaboklab(53.83% 0.1586 -0.0243)
OKLCHoklch(53.83% 0.16 351.3)
XYZxyz(22.8002, 13.8343, 19.5550)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D79 #3DAF73
analogous
#AC3DAF #AF3D79 #AF3D40
triadic
#AF3D79 #79AF3D #3D79AF
tetradic
#AF3D79 #AFAC3D #3DAF73 #3D40AF
square
#AF3D79 #AFAC3D #3DAF73 #3D40AF
split-complementary
#AF3D79 #40AF3D #3DAFAC
monochromatic
#541D3A #822D5A #AF3D79 #C86197 #D88FB5

Accessibility & contrast

On white

5.58
#AF3D79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AF3D79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D79
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D79#FFFFFF#000000##FFFFFF
##AF3D791.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B7B
Deuteranopia (green-blind)
#6D7076
Tritanopia (blue-blind)
#BC3756
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3d79;
/* rgb */ color: rgb(175, 61, 121);
/* oklch */ color: oklch(53.8% 0.160 351.3);
Tailwind
colors: {
  custom: {
    50: '#cb7a9f',
    500: '#af3d79',
    950: '#000000',
  },
}
SCSS
$custom: #af3d79;
$custom-light: #cb7a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d79",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 328.421,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53829,
    "c": 0.16043,
    "h": 351.3
  },
  "luminance": 0.13832
}

Semantic roles & 50–950 ramp

primary
#AF3D79
secondary
#85C3A2
accent
#D89050
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3D79

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

Preview Lab → · Contrast checker → · Palette generator →

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