#AF3D7C#AF3D7C

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

Color values

HEX#AF3D7C
RGBrgb(175, 61, 124)
HSLhsl(327, 48%, 46%)
HSVhsv(327, 65%, 69%)
CMYKcmyk(0%, 65.1%, 29.1%, 31.4%)
CIE-LABlab(44.10, 52.46, -11.08)
CIE-LCHlch(44.10, 53.61, 348.08°)
OKLaboklab(53.94% 0.1594 -0.0289)
OKLCHoklch(53.94% 0.162 349.7)
XYZxyz(22.9871, 13.9091, 20.5390)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D7C #3DAF70
analogous
#A93DAF #AF3D7C #AF3D43
triadic
#AF3D7C #7CAF3D #3D7CAF
tetradic
#AF3D7C #AFA93D #3DAF70 #3D43AF
square
#AF3D7C #AFA93D #3DAF70 #3D43AF
split-complementary
#AF3D7C #43AF3D #3DAFA9
monochromatic
#541D3C #822D5C #AF3D7C #C8619A #D88FB7

Accessibility & contrast

On white

5.55
#AF3D7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AF3D7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D7C
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D7C#FFFFFF#000000##FFFFFF
##AF3D7C1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7E
Deuteranopia (green-blind)
#6D7079
Tritanopia (blue-blind)
#BB3857
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3d7c;
/* rgb */ color: rgb(175, 61, 124);
/* oklch */ color: oklch(53.9% 0.162 349.7);
Tailwind
colors: {
  custom: {
    50: '#ca7aa2',
    500: '#af3d7c',
    950: '#000000',
  },
}
SCSS
$custom: #af3d7c;
$custom-light: #ca7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d7c",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 326.842,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53944,
    "c": 0.16201,
    "h": 349.7
  },
  "luminance": 0.13907
}

Semantic roles & 50–950 ramp

primary
#AF3D7C
secondary
#85C3A1
accent
#D88D50
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0F
muted
#827C7E

Preview Lab

Preview with #AF3D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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