#AD2198#AD2198

#AD2198 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.210 H 335.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AD2198
RGBrgb(173, 33, 152)
HSLhsl(309, 68%, 40%)
HSVhsv(309, 81%, 68%)
CMYKcmyk(0%, 80.9%, 12.1%, 32.2%)
CIE-LABlab(41.60, 65.31, -32.02)
CIE-LCHlch(41.60, 72.74, 333.88°)
OKLaboklab(52.46% 0.1912 -0.0876)
OKLCHoklch(52.46% 0.21 335.4)
XYZxyz(23.4453, 12.2411, 30.8277)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2198 #21AD36
analogous
#7C21AD #AD2198 #AD2152
triadic
#AD2198 #98AD21 #2198AD
tetradic
#AD2198 #AD7C21 #21AD36 #2152AD
square
#AD2198 #AD7C21 #21AD36 #2152AD
split-complementary
#AD2198 #52AD21 #21AD7C
monochromatic
#460D3E #7A176B #AD2198 #D833BF #E266CF

Accessibility & contrast

On white

6.09
#AD2198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AD2198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2198
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2198#FFFFFF#000000##FFFFFF
##AD21981.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#B62E5C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ad2198;
/* rgb */ color: rgb(173, 33, 152);
/* oklch */ color: oklch(52.5% 0.210 335.4);
Tailwind
colors: {
  custom: {
    50: '#ca6fb6',
    500: '#ad2198',
    950: '#000000',
  },
}
SCSS
$custom: #ad2198;
$custom-light: #ca6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2198",
  "rgb": {
    "r": 173,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 309,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.21033,
    "h": 335.4
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#AD2198
secondary
#62C772
accent
#EB573D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AD2198

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

Preview Lab → · Contrast checker → · Palette generator →

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