#AD2F7F#AD2F7F

#AD2F7F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.180 H 346.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AD2F7F
RGBrgb(173, 47, 127)
HSLhsl(322, 57%, 43%)
HSVhsv(322, 73%, 68%)
CMYKcmyk(0%, 72.8%, 26.6%, 32.2%)
CIE-LABlab(41.93, 57.70, -16.26)
CIE-LCHlch(41.93, 59.94, 344.26°)
OKLaboklab(52.32% 0.175 -0.0431)
OKLCHoklch(52.32% 0.18 346.2)
XYZxyz(22.0818, 12.4520, 21.3151)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2F7F #2FAD5D
analogous
#9C2FAD #AD2F7F #AD2F40
triadic
#AD2F7F #7FAD2F #2F7FAD
tetradic
#AD2F7F #AD9C2F #2FAD5D #2F40AD
square
#AD2F7F #AD9C2F #2FAD5D #2F40AD
split-complementary
#AD2F7F #40AD2F #2FAD9C
monochromatic
#4D1538 #7D225C #AD2F7F #CE4B9E #DB7BB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD2F7F#FFFFFF#000000##FFFFFF
##AD2F7F1.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)
#3F5581
Deuteranopia (green-blind)
#656B7C
Tritanopia (blue-blind)
#B92C53
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad2f7f;
/* rgb */ color: rgb(173, 47, 127);
/* oklch */ color: oklch(52.3% 0.180 346.2);
Tailwind
colors: {
  custom: {
    50: '#c973a4',
    500: '#ad2f7f',
    950: '#000000',
  },
}
SCSS
$custom: #ad2f7f;
$custom-light: #c973a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2f7f",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 321.905,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.18021,
    "h": 346.2
  },
  "luminance": 0.1245
}

Semantic roles & 50–950 ramp

primary
#AD2F7F
secondary
#74C491
accent
#E17F47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AD2F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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