#AD229E#AD229E

#AD229E is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.214 H 333.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AD229E
RGBrgb(173, 34, 158)
HSLhsl(306, 67%, 41%)
HSVhsv(306, 80%, 68%)
CMYKcmyk(0%, 80.3%, 8.7%, 32.2%)
CIE-LABlab(42.00, 65.94, -35.01)
CIE-LCHlch(42.00, 74.65, 332.03°)
OKLaboklab(52.85% 0.1907 -0.0962)
OKLCHoklch(52.85% 0.214 333.2)
XYZxyz(23.9773, 12.4990, 33.4909)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD229E #22AD31
analogous
#7622AD #AD229E #AD2258
triadic
#AD229E #9EAD22 #229EAD
tetradic
#AD229E #AD7622 #22AD31 #2258AD
square
#AD229E #AD7622 #22AD31 #2258AD
split-complementary
#AD229E #58AD22 #22AD76
monochromatic
#470E41 #7A186F #AD229E #D735C6 #E168D4

Accessibility & contrast

On white

6.00
#AD229E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AD229E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD229E
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD229E#FFFFFF#000000##FFFFFF
##AD229E1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A57A1
Deuteranopia (green-blind)
#546A9B
Tritanopia (blue-blind)
#B53360
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad229e;
/* rgb */ color: rgb(173, 34, 158);
/* oklch */ color: oklch(52.8% 0.214 333.2);
Tailwind
colors: {
  custom: {
    50: '#ca6fbb',
    500: '#ad229e',
    950: '#000000',
  },
}
SCSS
$custom: #ad229e;
$custom-light: #ca6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad229e",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 306.475,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52845,
    "c": 0.2136,
    "h": 333.2
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#AD229E
secondary
#64C76E
accent
#EA503E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AD229E

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

Preview Lab → · Contrast checker → · Palette generator →

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