#AF3D7D#AF3D7D

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

Color values

HEX#AF3D7D
RGBrgb(175, 61, 125)
HSLhsl(326, 48%, 46%)
HSVhsv(326, 65%, 69%)
CMYKcmyk(0%, 65.1%, 28.6%, 31.4%)
CIE-LABlab(44.14, 52.59, -11.63)
CIE-LCHlch(44.14, 53.86, 347.53°)
OKLaboklab(53.98% 0.1597 -0.0304)
OKLCHoklch(53.98% 0.163 349.2)
XYZxyz(23.0506, 13.9345, 20.8738)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D7D #3DAF6F
analogous
#A83DAF #AF3D7D #AF3D44
triadic
#AF3D7D #7DAF3D #3D7DAF
tetradic
#AF3D7D #AFA83D #3DAF6F #3D44AF
square
#AF3D7D #AFA83D #3DAF6F #3D44AF
split-complementary
#AF3D7D #44AF3D #3DAFA8
monochromatic
#541D3C #822D5D #AF3D7D #C8619B #D88FB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3D7D#FFFFFF#000000##FFFFFF
##AF3D7D1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C7F
Deuteranopia (green-blind)
#6C707A
Tritanopia (blue-blind)
#BB3858
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3d7d;
/* rgb */ color: rgb(175, 61, 125);
/* oklch */ color: oklch(54.0% 0.163 349.2);
Tailwind
colors: {
  custom: {
    50: '#ca7aa2',
    500: '#af3d7d',
    950: '#000000',
  },
}
SCSS
$custom: #af3d7d;
$custom-light: #ca7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d7d",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 326.316,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53983,
    "c": 0.16255,
    "h": 349.2
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

primary
#AF3D7D
secondary
#85C3A0
accent
#D88C50
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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