#AD2297#AD2297

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

Color values

HEX#AD2297
RGBrgb(173, 34, 151)
HSLhsl(309, 67%, 41%)
HSVhsv(309, 80%, 68%)
CMYKcmyk(0%, 80.3%, 12.7%, 32.2%)
CIE-LABlab(41.63, 64.91, -31.36)
CIE-LCHlch(41.63, 72.09, 334.22°)
OKLaboklab(52.47% 0.1904 -0.0857)
OKLCHoklch(52.47% 0.209 335.8)
XYZxyz(23.3919, 12.2649, 30.4076)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2297 #22AD38
analogous
#7D22AD #AD2297 #AD2252
triadic
#AD2297 #97AD22 #2297AD
tetradic
#AD2297 #AD7D22 #22AD38 #2252AD
square
#AD2297 #AD7D22 #22AD38 #2252AD
split-complementary
#AD2297 #52AD22 #22AD7D
monochromatic
#470E3E #7A186A #AD2297 #D735BE #E168CE

Accessibility & contrast

On white

6.08
#AD2297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AD2297
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2297#FFFFFF#000000##FFFFFF
##AD22971.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#586994
Tritanopia (blue-blind)
#B62E5C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ad2297;
/* rgb */ color: rgb(173, 34, 151);
/* oklch */ color: oklch(52.5% 0.209 335.8);
Tailwind
colors: {
  custom: {
    50: '#ca6fb6',
    500: '#ad2297',
    950: '#000000',
  },
}
SCSS
$custom: #ad2297;
$custom-light: #ca6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2297",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 309.496,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52466,
    "c": 0.20879,
    "h": 335.8
  },
  "luminance": 0.12263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AD2297

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

Preview Lab → · Contrast checker → · Palette generator →

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