#AD398C#AD398C

#AD398C is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.176 H 341.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AD398C
RGBrgb(173, 57, 140)
HSLhsl(317, 50%, 45%)
HSVhsv(317, 67%, 68%)
CMYKcmyk(0%, 67.1%, 19.1%, 32.2%)
CIE-LABlab(43.81, 55.72, -21.31)
CIE-LCHlch(43.81, 59.65, 339.07°)
OKLaboklab(53.87% 0.1662 -0.0573)
OKLCHoklch(53.87% 0.176 341)
XYZxyz(23.4310, 13.7061, 26.2174)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD398C #39AD5A
analogous
#9439AD #AD398C #AD3952
triadic
#AD398C #8CAD39 #398CAD
tetradic
#AD398C #AD9439 #39AD5A #3952AD
square
#AD398C #AD9439 #39AD5A #3952AD
split-complementary
#AD398C #52AD39 #39AD94
monochromatic
#511B41 #7F2A67 #AD398C #C95AA9 #D888C1

Accessibility & contrast

On white

5.61
#AD398C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AD398C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD398C
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD398C#FFFFFF#000000##FFFFFF
##AD398C1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8E
Deuteranopia (green-blind)
#656E89
Tritanopia (blue-blind)
#B73B5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ad398c;
/* rgb */ color: rgb(173, 57, 140);
/* oklch */ color: oklch(53.9% 0.176 341.0);
Tailwind
colors: {
  custom: {
    50: '#c978ad',
    500: '#ad398c',
    950: '#000000',
  },
}
SCSS
$custom: #ad398c;
$custom-light: #c978ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ad398c",
  "rgb": {
    "r": 173,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 317.069,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53872,
    "c": 0.17574,
    "h": 341
  },
  "luminance": 0.13704
}

Semantic roles & 50–950 ramp

primary
#AD398C
secondary
#80C293
accent
#DA764E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AD398C

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

Preview Lab → · Contrast checker → · Palette generator →

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