#AF389A#AF389A

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

Color values

HEX#AF389A
RGBrgb(175, 56, 154)
HSLhsl(311, 52%, 45%)
HSVhsv(311, 68%, 69%)
CMYKcmyk(0%, 68%, 12%, 31.4%)
CIE-LABlab(44.63, 58.72, -28.45)
CIE-LCHlch(44.63, 65.25, 334.15°)
OKLaboklab(54.74% 0.1716 -0.0775)
OKLCHoklch(54.74% 0.188 335.7)
XYZxyz(24.9264, 14.2775, 32.0086)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF389A #38AF4D
analogous
#8838AF #AF389A #AF385F
triadic
#AF389A #9AAF38 #389AAF
tetradic
#AF389A #AF8838 #38AF4D #385FAF
square
#AF389A #AF8838 #38AF4D #385FAF
split-complementary
#AF389A #5FAF38 #38AF88
monochromatic
#521A48 #812971 #AF389A #CA5AB6 #D988CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF389A#FFFFFF#000000##FFFFFF
##AF389A1.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)
#395E9D
Deuteranopia (green-blind)
#607097
Tritanopia (blue-blind)
#B84064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af389a;
/* rgb */ color: rgb(175, 56, 154);
/* oklch */ color: oklch(54.7% 0.188 335.7);
Tailwind
colors: {
  custom: {
    50: '#ca78b8',
    500: '#af389a',
    950: '#000000',
  },
}
SCSS
$custom: #af389a;
$custom-light: #ca78b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af389a",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 310.588,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54738,
    "c": 0.18824,
    "h": 335.7
  },
  "luminance": 0.14275
}

Semantic roles & 50–950 ramp

primary
#AF389A
secondary
#80C38C
accent
#DB664D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF389A

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

Preview Lab → · Contrast checker → · Palette generator →

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