#AD398E#AD398E

#AD398E is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.177 H 340.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AD398E
RGBrgb(173, 57, 142)
HSLhsl(316, 50%, 45%)
HSVhsv(316, 67%, 68%)
CMYKcmyk(0%, 67.1%, 17.9%, 32.2%)
CIE-LABlab(43.90, 56.01, -22.39)
CIE-LCHlch(43.90, 60.31, 338.21°)
OKLaboklab(53.96% 0.1665 -0.0603)
OKLCHoklch(53.96% 0.177 340.1)
XYZxyz(23.5798, 13.7657, 27.0011)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD398E #39AD58
analogous
#9239AD #AD398E #AD3954
triadic
#AD398E #8EAD39 #398EAD
tetradic
#AD398E #AD9239 #39AD58 #3954AD
square
#AD398E #AD9239 #39AD58 #3954AD
split-complementary
#AD398E #54AD39 #39AD92
monochromatic
#511B42 #7F2A68 #AD398E #C95AAB #D888C3

Accessibility & contrast

On white

5.60
#AD398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AD398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD398E
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD398E#FFFFFF#000000##FFFFFF
##AD398E1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C90
Deuteranopia (green-blind)
#646E8B
Tritanopia (blue-blind)
#B73C5E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ad398e;
/* rgb */ color: rgb(173, 57, 142);
/* oklch */ color: oklch(54.0% 0.177 340.1);
Tailwind
colors: {
  custom: {
    50: '#c978af',
    500: '#ad398e',
    950: '#000000',
  },
}
SCSS
$custom: #ad398e;
$custom-light: #c978af;
$custom-dark: #000000;
JSON
{
  "hex": "#ad398e",
  "rgb": {
    "r": 173,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 316.034,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.17709,
    "h": 340.1
  },
  "luminance": 0.13763
}

Semantic roles & 50–950 ramp

primary
#AD398E
secondary
#80C291
accent
#DA734E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AD398E

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

Preview Lab → · Contrast checker → · Palette generator →

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