#AD338B#AD338B

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

Color values

HEX#AD338B
RGBrgb(173, 51, 139)
HSLhsl(317, 54%, 44%)
HSVhsv(317, 71%, 68%)
CMYKcmyk(0%, 70.5%, 19.7%, 32.2%)
CIE-LABlab(42.94, 57.88, -22.04)
CIE-LCHlch(42.94, 61.93, 339.15°)
OKLaboklab(53.23% 0.1729 -0.0593)
OKLCHoklch(53.23% 0.183 341.1)
XYZxyz(23.0783, 13.1182, 25.7377)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD338B #33AD55
analogous
#9233AD #AD338B #AD334E
triadic
#AD338B #8BAD33 #338BAD
tetradic
#AD338B #AD9233 #33AD55 #334EAD
square
#AD338B #AD9233 #33AD55 #334EAD
split-complementary
#AD338B #4EAD33 #33AD92
monochromatic
#4E173F #7E2565 #AD338B #CC51AA #DA81C1

Accessibility & contrast

On white

5.80
#AD338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AD338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD338B
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD338B#FFFFFF#000000##FFFFFF
##AD338B1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598D
Deuteranopia (green-blind)
#626D88
Tritanopia (blue-blind)
#B7355A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ad338b;
/* rgb */ color: rgb(173, 51, 139);
/* oklch */ color: oklch(53.2% 0.183 341.1);
Tailwind
colors: {
  custom: {
    50: '#c975ad',
    500: '#ad338b',
    950: '#000000',
  },
}
SCSS
$custom: #ad338b;
$custom-light: #c975ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ad338b",
  "rgb": {
    "r": 173,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 316.721,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53225,
    "c": 0.18282,
    "h": 341.1
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#AD338B
secondary
#79C38E
accent
#DE734A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AD338B

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

Preview Lab → · Contrast checker → · Palette generator →

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