#AF3C8F#AF3C8F

#AF3C8F is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.6% C 0.175 H 340.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF3C8F
RGBrgb(175, 60, 143)
HSLhsl(317, 49%, 46%)
HSVhsv(317, 66%, 69%)
CMYKcmyk(0%, 65.7%, 18.3%, 31.4%)
CIE-LABlab(44.70, 55.48, -21.71)
CIE-LCHlch(44.70, 59.58, 338.63°)
OKLaboklab(54.63% 0.1651 -0.0584)
OKLCHoklch(54.63% 0.175 340.5)
XYZxyz(24.2536, 14.3311, 27.4701)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C8F #3CAF5C
analogous
#953CAF #AF3C8F #AF3C55
triadic
#AF3C8F #8FAF3C #3C8FAF
tetradic
#AF3C8F #AF953C #3CAF5C #3C55AF
square
#AF3C8F #AF953C #3CAF5C #3C55AF
split-complementary
#AF3C8F #55AF3C #3CAF95
monochromatic
#541D45 #812C6A #AF3C8F #C860AB #D88DC3

Accessibility & contrast

On white

5.43
#AF3C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF3C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C8F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C8F#FFFFFF#000000##FFFFFF
##AF3C8F1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435E91
Deuteranopia (green-blind)
#66708C
Tritanopia (blue-blind)
#B93F60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3c8f;
/* rgb */ color: rgb(175, 60, 143);
/* oklch */ color: oklch(54.6% 0.175 340.5);
Tailwind
colors: {
  custom: {
    50: '#ca7ab0',
    500: '#af3c8f',
    950: '#000000',
  },
}
SCSS
$custom: #af3c8f;
$custom-light: #ca7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c8f",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 316.696,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.17512,
    "h": 340.5
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#AF3C8F
secondary
#84C395
accent
#D8754F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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