#AF3C97#AF3C97

#AF3C97 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.181 H 337.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AF3C97
RGBrgb(175, 60, 151)
HSLhsl(313, 49%, 46%)
HSVhsv(313, 66%, 69%)
CMYKcmyk(0%, 65.7%, 13.7%, 31.4%)
CIE-LABlab(45.06, 56.68, -25.99)
CIE-LCHlch(45.06, 62.35, 335.37°)
OKLaboklab(55.01% 0.1664 -0.0705)
OKLCHoklch(55.01% 0.181 337)
XYZxyz(24.8813, 14.5822, 30.7764)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C97 #3CAF54
analogous
#8D3CAF #AF3C97 #AF3C5D
triadic
#AF3C97 #97AF3C #3C97AF
tetradic
#AF3C97 #AF8D3C #3CAF54 #3C5DAF
square
#AF3C97 #AF8D3C #3CAF54 #3C5DAF
split-complementary
#AF3C97 #5DAF3C #3CAF8D
monochromatic
#541D48 #812C70 #AF3C97 #C860B3 #D88DC8

Accessibility & contrast

On white

5.36
#AF3C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF3C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C97
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C97#FFFFFF#000000##FFFFFF
##AF3C971.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F9A
Deuteranopia (green-blind)
#637194
Tritanopia (blue-blind)
#B84264
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3c97;
/* rgb */ color: rgb(175, 60, 151);
/* oklch */ color: oklch(55.0% 0.181 337.0);
Tailwind
colors: {
  custom: {
    50: '#ca7ab6',
    500: '#af3c97',
    950: '#000000',
  },
}
SCSS
$custom: #af3c97;
$custom-light: #ca7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c97",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 312.522,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.18076,
    "h": 337
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#AF3C97
secondary
#84C391
accent
#D86C4F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3C97

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

Preview Lab → · Contrast checker → · Palette generator →

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