#AD2098#AD2098

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

Color values

HEX#AD2098
RGBrgb(173, 32, 152)
HSLhsl(309, 69%, 40%)
HSVhsv(309, 82%, 68%)
CMYKcmyk(0%, 81.5%, 12.1%, 32.2%)
CIE-LABlab(41.51, 65.56, -32.16)
CIE-LCHlch(41.51, 73.02, 333.87°)
OKLaboklab(52.39% 0.192 -0.088)
OKLCHoklch(52.39% 0.211 335.4)
XYZxyz(23.4179, 12.1865, 30.8186)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2098 #20AD35
analogous
#7B20AD #AD2098 #AD2052
triadic
#AD2098 #98AD20 #2098AD
tetradic
#AD2098 #AD7B20 #20AD35 #2052AD
square
#AD2098 #AD7B20 #20AD35 #2052AD
split-complementary
#AD2098 #52AD20 #20AD7B
monochromatic
#460D3D #79166B #AD2098 #D931C0 #E265D0

Accessibility & contrast

On white

6.11
#AD2098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AD2098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2098
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2098#FFFFFF#000000##FFFFFF
##AD20981.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ad2098;
/* rgb */ color: rgb(173, 32, 152);
/* oklch */ color: oklch(52.4% 0.211 335.4);
Tailwind
colors: {
  custom: {
    50: '#ca6eb6',
    500: '#ad2098',
    950: '#000000',
  },
}
SCSS
$custom: #ad2098;
$custom-light: #ca6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2098",
  "rgb": {
    "r": 173,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 308.936,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.21116,
    "h": 335.4
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#AD2098
secondary
#61C870
accent
#EC563C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AD2098

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

Preview Lab → · Contrast checker → · Palette generator →

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