#AD2F8E#AD2F8E

#AD2F8E is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.190 H 339.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AD2F8E
RGBrgb(173, 47, 142)
HSLhsl(315, 57%, 43%)
HSVhsv(315, 73%, 68%)
CMYKcmyk(0%, 72.8%, 17.9%, 32.2%)
CIE-LABlab(42.57, 59.72, -24.44)
CIE-LCHlch(42.57, 64.53, 337.75°)
OKLaboklab(53% 0.1777 -0.066)
OKLCHoklch(53% 0.19 339.6)
XYZxyz(23.1332, 12.8725, 26.8523)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2F8E #2FAD4E
analogous
#8D2FAD #AD2F8E #AD2F4F
triadic
#AD2F8E #8EAD2F #2F8EAD
tetradic
#AD2F8E #AD8D2F #2FAD4E #2F4FAD
square
#AD2F8E #AD8D2F #2FAD4E #2F4FAD
split-complementary
#AD2F8E #4FAD2F #2FAD8D
monochromatic
#4D153F #7D2266 #AD2F8E #CE4BAE #DB7BC4

Accessibility & contrast

On white

5.88
#AD2F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AD2F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2F8E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2F8E#FFFFFF#000000##FFFFFF
##AD2F8E1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375891
Deuteranopia (green-blind)
#606C8B
Tritanopia (blue-blind)
#B7335B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad2f8e;
/* rgb */ color: rgb(173, 47, 142);
/* oklch */ color: oklch(53.0% 0.190 339.6);
Tailwind
colors: {
  custom: {
    50: '#c973af',
    500: '#ad2f8e',
    950: '#000000',
  },
}
SCSS
$custom: #ad2f8e;
$custom-light: #c973af;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2f8e",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 314.762,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53,
    "c": 0.18959,
    "h": 339.6
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#AD2F8E
secondary
#74C488
accent
#E16D47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AD2F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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