#AD229B#AD229B

#AD229B is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.212 H 334.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AD229B
RGBrgb(173, 34, 155)
HSLhsl(308, 67%, 41%)
HSVhsv(308, 80%, 68%)
CMYKcmyk(0%, 80.3%, 10.4%, 32.2%)
CIE-LABlab(41.84, 65.49, -33.45)
CIE-LCHlch(41.84, 73.54, 332.94°)
OKLaboklab(52.68% 0.1906 -0.0917)
OKLCHoklch(52.68% 0.212 334.3)
XYZxyz(23.7223, 12.3970, 32.1475)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD229B #22AD34
analogous
#7922AD #AD229B #AD2255
triadic
#AD229B #9BAD22 #229BAD
tetradic
#AD229B #AD7922 #22AD34 #2255AD
square
#AD229B #AD7922 #22AD34 #2255AD
split-complementary
#AD229B #55AD22 #22AD79
monochromatic
#470E3F #7A186D #AD229B #D735C2 #E168D2

Accessibility & contrast

On white

6.04
#AD229B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AD229B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD229B
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD229B#FFFFFF#000000##FFFFFF
##AD229B1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569E
Deuteranopia (green-blind)
#566A98
Tritanopia (blue-blind)
#B5315E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad229b;
/* rgb */ color: rgb(173, 34, 155);
/* oklch */ color: oklch(52.7% 0.212 334.3);
Tailwind
colors: {
  custom: {
    50: '#ca6fb9',
    500: '#ad229b',
    950: '#000000',
  },
}
SCSS
$custom: #ad229b;
$custom-light: #ca6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad229b",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 307.77,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5268,
    "c": 0.21153,
    "h": 334.3
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#AD229B
secondary
#64C771
accent
#EA543E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AD229B

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

Preview Lab → · Contrast checker → · Palette generator →

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