#AF3D82#AF3D82

#AF3D82 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.165 H 346.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF3D82
RGBrgb(175, 61, 130)
HSLhsl(324, 48%, 46%)
HSVhsv(324, 65%, 69%)
CMYKcmyk(0%, 65.1%, 25.7%, 31.4%)
CIE-LABlab(44.33, 53.25, -14.40)
CIE-LCHlch(44.33, 55.16, 344.86°)
OKLaboklab(54.18% 0.161 -0.038)
OKLCHoklch(54.18% 0.165 346.7)
XYZxyz(23.3781, 14.0655, 22.5985)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D82 #3DAF6A
analogous
#A33DAF #AF3D82 #AF3D49
triadic
#AF3D82 #82AF3D #3D82AF
tetradic
#AF3D82 #AFA33D #3DAF6A #3D49AF
square
#AF3D82 #AFA33D #3DAF6A #3D49AF
split-complementary
#AF3D82 #49AF3D #3DAFA3
monochromatic
#541D3F #822D60 #AF3D82 #C8619F #D88FBB

Accessibility & contrast

On white

5.51
#AF3D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF3D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D82
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D82#FFFFFF#000000##FFFFFF
##AF3D821.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5C84
Deuteranopia (green-blind)
#6B707F
Tritanopia (blue-blind)
#BB3A5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3d82;
/* rgb */ color: rgb(175, 61, 130);
/* oklch */ color: oklch(54.2% 0.165 346.7);
Tailwind
colors: {
  custom: {
    50: '#ca7aa6',
    500: '#af3d82',
    950: '#000000',
  },
}
SCSS
$custom: #af3d82;
$custom-light: #ca7aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d82",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 323.684,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54183,
    "c": 0.16541,
    "h": 346.7
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#AF3D82
secondary
#85C39D
accent
#D88650
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3D82

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

Preview Lab → · Contrast checker → · Palette generator →

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