#AD229F#AD229F

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

Color values

HEX#AD229F
RGBrgb(173, 34, 159)
HSLhsl(306, 67%, 41%)
HSVhsv(306, 80%, 68%)
CMYKcmyk(0%, 80.3%, 8.1%, 32.2%)
CIE-LABlab(42.05, 66.09, -35.52)
CIE-LCHlch(42.05, 75.03, 331.74°)
OKLaboklab(52.9% 0.1907 -0.0977)
OKLCHoklch(52.9% 0.214 332.9)
XYZxyz(24.0638, 12.5336, 33.9460)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD229F #22AD30
analogous
#7522AD #AD229F #AD2259
triadic
#AD229F #9FAD22 #229FAD
tetradic
#AD229F #AD7522 #22AD30 #2259AD
square
#AD229F #AD7522 #22AD30 #2259AD
split-complementary
#AD229F #59AD22 #22AD75
monochromatic
#470E41 #7A1870 #AD229F #D735C7 #E168D5

Accessibility & contrast

On white

5.99
#AD229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AD229F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD229F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD229F#FFFFFF#000000##FFFFFF
##AD229F1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A2
Deuteranopia (green-blind)
#546A9C
Tritanopia (blue-blind)
#B53361
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad229f;
/* rgb */ color: rgb(173, 34, 159);
/* oklch */ color: oklch(52.9% 0.214 332.9);
Tailwind
colors: {
  custom: {
    50: '#ca6fbc',
    500: '#ad229f',
    950: '#000000',
  },
}
SCSS
$custom: #ad229f;
$custom-light: #ca6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ad229f",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 306.043,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.529,
    "c": 0.2143,
    "h": 332.9
  },
  "luminance": 0.12531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AD229F

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

Preview Lab → · Contrast checker → · Palette generator →

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