#AF3C83#AF3C83

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

Color values

HEX#AF3C83
RGBrgb(175, 60, 131)
HSLhsl(323, 49%, 46%)
HSVhsv(323, 66%, 69%)
CMYKcmyk(0%, 65.7%, 25.1%, 31.4%)
CIE-LABlab(44.21, 53.80, -15.18)
CIE-LCHlch(44.21, 55.90, 344.24°)
OKLaboklab(54.11% 0.1625 -0.0402)
OKLCHoklch(54.11% 0.167 346.1)
XYZxyz(23.3927, 13.9867, 22.9361)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C83 #3CAF68
analogous
#A13CAF #AF3C83 #AF3C49
triadic
#AF3C83 #83AF3C #3C83AF
tetradic
#AF3C83 #AFA13C #3CAF68 #3C49AF
square
#AF3C83 #AFA13C #3CAF68 #3C49AF
split-complementary
#AF3C83 #49AF3C #3CAFA1
monochromatic
#541D3F #812C61 #AF3C83 #C860A0 #D88DBB

Accessibility & contrast

On white

5.53
#AF3C83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AF3C83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C83
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C83#FFFFFF#000000##FFFFFF
##AF3C831.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495C85
Deuteranopia (green-blind)
#6A7080
Tritanopia (blue-blind)
#BB3A5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3c83;
/* rgb */ color: rgb(175, 60, 131);
/* oklch */ color: oklch(54.1% 0.167 346.1);
Tailwind
colors: {
  custom: {
    50: '#ca7aa7',
    500: '#af3c83',
    950: '#000000',
  },
}
SCSS
$custom: #af3c83;
$custom-light: #ca7aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c83",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 322.957,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54112,
    "c": 0.1674,
    "h": 346.1
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#AF3C83
secondary
#84C39C
accent
#D8844F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3C83

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

Preview Lab → · Contrast checker → · Palette generator →

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