#AF3D7A#AF3D7A

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

Color values

HEX#AF3D7A
RGBrgb(175, 61, 122)
HSLhsl(328, 48%, 46%)
HSVhsv(328, 65%, 69%)
CMYKcmyk(0%, 65.1%, 30.3%, 31.4%)
CIE-LABlab(44.03, 52.20, -9.96)
CIE-LCHlch(44.03, 53.14, 349.20°)
OKLaboklab(53.87% 0.1589 -0.0259)
OKLCHoklch(53.87% 0.161 350.8)
XYZxyz(22.8619, 13.8590, 19.8796)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D7A #3DAF72
analogous
#AB3DAF #AF3D7A #AF3D41
triadic
#AF3D7A #7AAF3D #3D7AAF
tetradic
#AF3D7A #AFAB3D #3DAF72 #3D41AF
square
#AF3D7A #AFAB3D #3DAF72 #3D41AF
split-complementary
#AF3D7A #41AF3D #3DAFAB
monochromatic
#541D3B #822D5A #AF3D7A #C86198 #D88FB6

Accessibility & contrast

On white

5.57
#AF3D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3D7A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D7A#FFFFFF#000000##FFFFFF
##AF3D7A1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7C
Deuteranopia (green-blind)
#6D7077
Tritanopia (blue-blind)
#BB3756
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3d7a;
/* rgb */ color: rgb(175, 61, 122);
/* oklch */ color: oklch(53.9% 0.161 350.8);
Tailwind
colors: {
  custom: {
    50: '#cb7aa0',
    500: '#af3d7a',
    950: '#000000',
  },
}
SCSS
$custom: #af3d7a;
$custom-light: #cb7aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d7a",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 122
  },
  "hsl": {
    "h": 327.895,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53867,
    "c": 0.16094,
    "h": 350.8
  },
  "luminance": 0.13857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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