#AF397A#AF397A

#AF397A is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.4% C 0.166 H 350.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AF397A
RGBrgb(175, 57, 122)
HSLhsl(327, 51%, 45%)
HSVhsv(327, 67%, 69%)
CMYKcmyk(0%, 67.4%, 30.3%, 31.4%)
CIE-LABlab(43.43, 53.85, -10.86)
CIE-LCHlch(43.43, 54.94, 348.59°)
OKLaboklab(53.43% 0.164 -0.0283)
OKLCHoklch(53.43% 0.166 350.2)
XYZxyz(22.6563, 13.4478, 19.8111)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF397A #39AF6E
analogous
#A939AF #AF397A #AF393F
triadic
#AF397A #7AAF39 #397AAF
tetradic
#AF397A #AFA939 #39AF6E #393FAF
square
#AF397A #AFA939 #39AF6E #393FAF
split-complementary
#AF397A #3FAF39 #39AFA9
monochromatic
#531B3A #812A5A #AF397A #CA5B98 #D98AB5

Accessibility & contrast

On white

5.69
#AF397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF397A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF397A#FFFFFF#000000##FFFFFF
##AF397A1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597C
Deuteranopia (green-blind)
#6B6E77
Tritanopia (blue-blind)
#BC3354
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af397a;
/* rgb */ color: rgb(175, 57, 122);
/* oklch */ color: oklch(53.4% 0.166 350.2);
Tailwind
colors: {
  custom: {
    50: '#cb78a0',
    500: '#af397a',
    950: '#000000',
  },
}
SCSS
$custom: #af397a;
$custom-light: #cb78a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af397a",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 326.949,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53425,
    "c": 0.1664,
    "h": 350.2
  },
  "luminance": 0.13445
}

Semantic roles & 50–950 ramp

primary
#AF397A
secondary
#81C39F
accent
#DA8D4D
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AF397A

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

Preview Lab → · Contrast checker → · Palette generator →

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