#AD2F98#AD2F98

#AD2F98 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.196 H 335.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AD2F98
RGBrgb(173, 47, 152)
HSLhsl(310, 57%, 43%)
HSVhsv(310, 73%, 68%)
CMYKcmyk(0%, 72.8%, 12.1%, 32.2%)
CIE-LABlab(43.04, 61.17, -29.75)
CIE-LCHlch(43.04, 68.03, 334.06°)
OKLaboklab(53.5% 0.1789 -0.0812)
OKLCHoklch(53.5% 0.196 335.6)
XYZxyz(23.9179, 13.1864, 30.9852)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2F98 #2FAD44
analogous
#832FAD #AD2F98 #AD2F59
triadic
#AD2F98 #98AD2F #2F98AD
tetradic
#AD2F98 #AD832F #2FAD44 #2F59AD
square
#AD2F98 #AD832F #2FAD44 #2F59AD
split-complementary
#AD2F98 #59AD2F #2FAD83
monochromatic
#4D1543 #7D226E #AD2F98 #CE4BB8 #DB7BCB

Accessibility & contrast

On white

5.77
#AD2F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AD2F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2F98
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2F98#FFFFFF#000000##FFFFFF
##AD2F981.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#5C6C95
Tritanopia (blue-blind)
#B63860
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ad2f98;
/* rgb */ color: rgb(173, 47, 152);
/* oklch */ color: oklch(53.5% 0.196 335.6);
Tailwind
colors: {
  custom: {
    50: '#c974b6',
    500: '#ad2f98',
    950: '#000000',
  },
}
SCSS
$custom: #ad2f98;
$custom-light: #c974b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2f98",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 310,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53495,
    "c": 0.19648,
    "h": 335.6
  },
  "luminance": 0.13184
}

Semantic roles & 50–950 ramp

primary
#AD2F98
secondary
#74C481
accent
#E16147
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AD2F98

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

Preview Lab → · Contrast checker → · Palette generator →

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