#AF3C8D#AF3C8D

#AF3C8D is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.174 H 341.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AF3C8D
RGBrgb(175, 60, 141)
HSLhsl(318, 49%, 46%)
HSVhsv(318, 66%, 69%)
CMYKcmyk(0%, 65.7%, 19.4%, 31.4%)
CIE-LABlab(44.62, 55.19, -20.64)
CIE-LCHlch(44.62, 58.92, 339.50°)
OKLaboklab(54.54% 0.1647 -0.0554)
OKLCHoklch(54.54% 0.174 341.4)
XYZxyz(24.1034, 14.2710, 26.6793)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C8D #3CAF5E
analogous
#973CAF #AF3C8D #AF3C53
triadic
#AF3C8D #8DAF3C #3C8DAF
tetradic
#AF3C8D #AF973C #3CAF5E #3C53AF
square
#AF3C8D #AF973C #3CAF5E #3C53AF
split-complementary
#AF3C8D #53AF3C #3CAF97
monochromatic
#541D44 #812C68 #AF3C8D #C860A9 #D88DC2

Accessibility & contrast

On white

5.45
#AF3C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AF3C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C8D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C8D#FFFFFF#000000##FFFFFF
##AF3C8D1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E8F
Deuteranopia (green-blind)
#67708A
Tritanopia (blue-blind)
#B93E5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3c8d;
/* rgb */ color: rgb(175, 60, 141);
/* oklch */ color: oklch(54.5% 0.174 341.4);
Tailwind
colors: {
  custom: {
    50: '#ca7aae',
    500: '#af3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #af3c8d;
$custom-light: #ca7aae;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c8d",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 317.739,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54542,
    "c": 0.17376,
    "h": 341.4
  },
  "luminance": 0.14269
}

Semantic roles & 50–950 ramp

primary
#AF3C8D
secondary
#84C397
accent
#D8784F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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