#AD338C#AD338C

#AD338C is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.183 H 340.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AD338C
RGBrgb(173, 51, 140)
HSLhsl(316, 54%, 44%)
HSVhsv(316, 71%, 68%)
CMYKcmyk(0%, 70.5%, 19.1%, 32.2%)
CIE-LABlab(42.98, 58.02, -22.58)
CIE-LCHlch(42.98, 62.26, 338.73°)
OKLaboklab(53.27% 0.1731 -0.0608)
OKLCHoklch(53.27% 0.183 340.6)
XYZxyz(23.1517, 13.1476, 26.1243)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD338C #33AD54
analogous
#9133AD #AD338C #AD334F
triadic
#AD338C #8CAD33 #338CAD
tetradic
#AD338C #AD9133 #33AD54 #334FAD
square
#AD338C #AD9133 #33AD54 #334FAD
split-complementary
#AD338C #4FAD33 #33AD91
monochromatic
#4E1740 #7E2566 #AD338C #CC51AB #DA81C2

Accessibility & contrast

On white

5.79
#AD338C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AD338C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD338C
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD338C#FFFFFF#000000##FFFFFF
##AD338C1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598F
Deuteranopia (green-blind)
#626D89
Tritanopia (blue-blind)
#B7365B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ad338c;
/* rgb */ color: rgb(173, 51, 140);
/* oklch */ color: oklch(53.3% 0.183 340.6);
Tailwind
colors: {
  custom: {
    50: '#c975ae',
    500: '#ad338c',
    950: '#000000',
  },
}
SCSS
$custom: #ad338c;
$custom-light: #c975ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ad338c",
  "rgb": {
    "r": 173,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 316.23,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.18348,
    "h": 340.6
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#AD338C
secondary
#79C38D
accent
#DE724A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AD338C

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

Preview Lab → · Contrast checker → · Palette generator →

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