#AF3A82#AF3A82

#AF3A82 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.9% C 0.170 H 346.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF3A82
RGBrgb(175, 58, 130)
HSLhsl(323, 50%, 46%)
HSVhsv(323, 67%, 69%)
CMYKcmyk(0%, 66.9%, 25.7%, 31.4%)
CIE-LABlab(43.88, 54.48, -15.09)
CIE-LCHlch(43.88, 56.53, 344.52°)
OKLaboklab(53.85% 0.1648 -0.0399)
OKLCHoklch(53.85% 0.17 346.4)
XYZxyz(23.2224, 13.7541, 22.5466)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A82 #3AAF67
analogous
#A13AAF #AF3A82 #AF3A47
triadic
#AF3A82 #82AF3A #3A82AF
tetradic
#AF3A82 #AFA13A #3AAF67 #3A47AF
square
#AF3A82 #AFA13A #3AAF67 #3A47AF
split-complementary
#AF3A82 #47AF3A #3AAFA1
monochromatic
#531C3E #812B60 #AF3A82 #C95DA0 #D98BBB

Accessibility & contrast

On white

5.60
#AF3A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF3A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A82
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A82#FFFFFF#000000##FFFFFF
##AF3A821.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485B84
Deuteranopia (green-blind)
#6A6F7F
Tritanopia (blue-blind)
#BB3759
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3a82;
/* rgb */ color: rgb(175, 58, 130);
/* oklch */ color: oklch(53.9% 0.170 346.4);
Tailwind
colors: {
  custom: {
    50: '#ca78a6',
    500: '#af3a82',
    950: '#000000',
  },
}
SCSS
$custom: #af3a82;
$custom-light: #ca78a6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a82",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 130
  },
  "hsl": {
    "h": 323.077,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53853,
    "c": 0.16954,
    "h": 346.4
  },
  "luminance": 0.13752
}

Semantic roles & 50–950 ramp

primary
#AF3A82
secondary
#82C39B
accent
#DA844E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3A82

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

Preview Lab → · Contrast checker → · Palette generator →

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