#AD2298#AD2298

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

Color values

HEX#AD2298
RGBrgb(173, 34, 152)
HSLhsl(309, 67%, 41%)
HSVhsv(309, 80%, 68%)
CMYKcmyk(0%, 80.3%, 12.1%, 32.2%)
CIE-LABlab(41.69, 65.06, -31.88)
CIE-LCHlch(41.69, 72.45, 333.89°)
OKLaboklab(52.52% 0.1905 -0.0872)
OKLCHoklch(52.52% 0.209 335.4)
XYZxyz(23.4735, 12.2975, 30.8371)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2298 #22AD37
analogous
#7C22AD #AD2298 #AD2252
triadic
#AD2298 #98AD22 #2298AD
tetradic
#AD2298 #AD7C22 #22AD37 #2252AD
square
#AD2298 #AD7C22 #22AD37 #2252AD
split-complementary
#AD2298 #52AD22 #22AD7C
monochromatic
#470E3E #7A186B #AD2298 #D735BF #E168CF

Accessibility & contrast

On white

6.07
#AD2298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AD2298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2298
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2298#FFFFFF#000000##FFFFFF
##AD22981.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ad2298;
/* rgb */ color: rgb(173, 34, 152);
/* oklch */ color: oklch(52.5% 0.209 335.4);
Tailwind
colors: {
  custom: {
    50: '#ca6fb6',
    500: '#ad2298',
    950: '#000000',
  },
}
SCSS
$custom: #ad2298;
$custom-light: #ca6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2298",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 309.065,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52519,
    "c": 0.20947,
    "h": 335.4
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#AD2298
secondary
#64C773
accent
#EA583E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AD2298

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

Preview Lab → · Contrast checker → · Palette generator →

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