#AF3C82#AF3C82

#AF3C82 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.1% C 0.167 H 346.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AF3C82
RGBrgb(175, 60, 130)
HSLhsl(323, 49%, 46%)
HSVhsv(323, 66%, 69%)
CMYKcmyk(0%, 65.7%, 25.7%, 31.4%)
CIE-LABlab(44.18, 53.66, -14.63)
CIE-LCHlch(44.18, 55.62, 344.75°)
OKLaboklab(54.07% 0.1623 -0.0386)
OKLCHoklch(54.07% 0.167 346.6)
XYZxyz(23.3252, 13.9597, 22.5809)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C82 #3CAF69
analogous
#A23CAF #AF3C82 #AF3C48
triadic
#AF3C82 #82AF3C #3C82AF
tetradic
#AF3C82 #AFA23C #3CAF69 #3C48AF
square
#AF3C82 #AFA23C #3CAF69 #3C48AF
split-complementary
#AF3C82 #48AF3C #3CAFA2
monochromatic
#541D3E #812C60 #AF3C82 #C8609F #D88DBB

Accessibility & contrast

On white

5.54
#AF3C82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3C82
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C82#FFFFFF#000000##FFFFFF
##AF3C821.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495C84
Deuteranopia (green-blind)
#6A707F
Tritanopia (blue-blind)
#BB395A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3c82;
/* rgb */ color: rgb(175, 60, 130);
/* oklch */ color: oklch(54.1% 0.167 346.6);
Tailwind
colors: {
  custom: {
    50: '#ca79a6',
    500: '#af3c82',
    950: '#000000',
  },
}
SCSS
$custom: #af3c82;
$custom-light: #ca79a6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c82",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 130
  },
  "hsl": {
    "h": 323.478,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.1668,
    "h": 346.6
  },
  "luminance": 0.13957
}

Semantic roles & 50–950 ramp

primary
#AF3C82
secondary
#84C39D
accent
#D8854F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3C82

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

Preview Lab → · Contrast checker → · Palette generator →

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