#AD2F8B#AD2F8B

#AD2F8B is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.188 H 340.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AD2F8B
RGBrgb(173, 47, 139)
HSLhsl(316, 57%, 43%)
HSVhsv(316, 73%, 68%)
CMYKcmyk(0%, 72.8%, 19.7%, 32.2%)
CIE-LABlab(42.44, 59.30, -22.82)
CIE-LCHlch(42.44, 63.54, 338.95°)
OKLaboklab(52.86% 0.1773 -0.0614)
OKLCHoklch(52.86% 0.188 340.9)
XYZxyz(22.9110, 12.7836, 25.6820)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2F8B #2FAD51
analogous
#902FAD #AD2F8B #AD2F4C
triadic
#AD2F8B #8BAD2F #2F8BAD
tetradic
#AD2F8B #AD902F #2FAD51 #2F4CAD
square
#AD2F8B #AD902F #2FAD51 #2F4CAD
split-complementary
#AD2F8B #4CAD2F #2FAD90
monochromatic
#4D153E #7D2264 #AD2F8B #CE4BAB #DB7BC1

Accessibility & contrast

On white

5.91
#AD2F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AD2F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2F8B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2F8B#FFFFFF#000000##FFFFFF
##AD2F8B1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578E
Deuteranopia (green-blind)
#616B88
Tritanopia (blue-blind)
#B73259
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad2f8b;
/* rgb */ color: rgb(173, 47, 139);
/* oklch */ color: oklch(52.9% 0.188 340.9);
Tailwind
colors: {
  custom: {
    50: '#c973ad',
    500: '#ad2f8b',
    950: '#000000',
  },
}
SCSS
$custom: #ad2f8b;
$custom-light: #c973ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2f8b",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 316.19,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52858,
    "c": 0.18762,
    "h": 340.9
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

primary
#AD2F8B
secondary
#74C48A
accent
#E17147
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AD2F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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