#AD1C98#AD1C98

#AD1C98 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.214 H 335.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AD1C98
RGBrgb(173, 28, 152)
HSLhsl(309, 72%, 39%)
HSVhsv(309, 84%, 68%)
CMYKcmyk(0%, 83.8%, 12.1%, 32.2%)
CIE-LABlab(41.19, 66.49, -32.66)
CIE-LCHlch(41.19, 74.08, 333.84°)
OKLaboklab(52.17% 0.1947 -0.0894)
OKLCHoklch(52.17% 0.214 335.3)
XYZxyz(23.3167, 11.9839, 30.7848)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1C98 #1CAD31
analogous
#7A1CAD #AD1C98 #AD1C4F
triadic
#AD1C98 #98AD1C #1C98AD
tetradic
#AD1C98 #AD7A1C #1CAD31 #1C4FAD
square
#AD1C98 #AD7A1C #1CAD31 #1C4FAD
split-complementary
#AD1C98 #4FAD1C #1CAD7A
monochromatic
#440B3B #78136A #AD1C98 #DC2AC3 #E55ED2

Accessibility & contrast

On white

6.18
#AD1C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AD1C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1C98
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1C98#FFFFFF#000000##FFFFFF
##AD1C981.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#B62B5B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad1c98;
/* rgb */ color: rgb(173, 28, 152);
/* oklch */ color: oklch(52.2% 0.214 335.3);
Tailwind
colors: {
  custom: {
    50: '#ca6db7',
    500: '#ad1c98',
    950: '#000000',
  },
}
SCSS
$custom: #ad1c98;
$custom-light: #ca6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1c98",
  "rgb": {
    "r": 173,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 308.69,
    "s": 72.139,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.21426,
    "h": 335.3
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#AD1C98
secondary
#5CC96B
accent
#EF5339
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AD1C98

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

Preview Lab → · Contrast checker → · Palette generator →

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