#AD229C#AD229C

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

Color values

HEX#AD229C
RGBrgb(173, 34, 156)
HSLhsl(307, 67%, 41%)
HSVhsv(307, 80%, 68%)
CMYKcmyk(0%, 80.3%, 9.8%, 32.2%)
CIE-LABlab(41.89, 65.64, -33.97)
CIE-LCHlch(41.89, 73.91, 332.64°)
OKLaboklab(52.74% 0.1906 -0.0932)
OKLCHoklch(52.74% 0.212 333.9)
XYZxyz(23.8066, 12.4307, 32.5916)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD229C #22AD33
analogous
#7822AD #AD229C #AD2256
triadic
#AD229C #9CAD22 #229CAD
tetradic
#AD229C #AD7822 #22AD33 #2256AD
square
#AD229C #AD7822 #22AD33 #2256AD
split-complementary
#AD229C #56AD22 #22AD78
monochromatic
#470E40 #7A186E #AD229C #D735C3 #E168D3

Accessibility & contrast

On white

6.02
#AD229C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AD229C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD229C
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD229C#FFFFFF#000000##FFFFFF
##AD229C1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D569F
Deuteranopia (green-blind)
#556A99
Tritanopia (blue-blind)
#B5315F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad229c;
/* rgb */ color: rgb(173, 34, 156);
/* oklch */ color: oklch(52.7% 0.212 333.9);
Tailwind
colors: {
  custom: {
    50: '#ca6fb9',
    500: '#ad229c',
    950: '#000000',
  },
}
SCSS
$custom: #ad229c;
$custom-light: #ca6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad229c",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 307.338,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.21221,
    "h": 333.9
  },
  "luminance": 0.12429
}

Semantic roles & 50–950 ramp

primary
#AD229C
secondary
#64C770
accent
#EA533E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AD229C

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

Preview Lab → · Contrast checker → · Palette generator →

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