#AD1F94#AD1F94

#AD1F94 is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.1% C 0.209 H 336.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AD1F94
RGBrgb(173, 31, 148)
HSLhsl(311, 70%, 40%)
HSVhsv(311, 82%, 68%)
CMYKcmyk(0%, 82.1%, 14.5%, 32.2%)
CIE-LABlab(41.22, 65.24, -30.19)
CIE-LCHlch(41.22, 71.88, 335.17°)
OKLaboklab(52.12% 0.1924 -0.0823)
OKLCHoklch(52.12% 0.209 336.8)
XYZxyz(23.0693, 12.0046, 29.1134)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F94 #1FAD38
analogous
#7F1FAD #AD1F94 #AD1F4D
triadic
#AD1F94 #94AD1F #1F94AD
tetradic
#AD1F94 #AD7F1F #1FAD38 #1F4DAD
square
#AD1F94 #AD7F1F #1FAD38 #1F4DAD
split-complementary
#AD1F94 #4DAD1F #1FAD7F
monochromatic
#450C3B #791668 #AD1F94 #DA2FBC #E363CD

Accessibility & contrast

On white

6.18
#AD1F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AD1F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F94
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F94#FFFFFF#000000##FFFFFF
##AD1F941.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245497
Deuteranopia (green-blind)
#586991
Tritanopia (blue-blind)
#B72B5A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad1f94;
/* rgb */ color: rgb(173, 31, 148);
/* oklch */ color: oklch(52.1% 0.209 336.8);
Tailwind
colors: {
  custom: {
    50: '#ca6eb4',
    500: '#ad1f94',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f94;
$custom-light: #ca6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f94",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 310.563,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.2093,
    "h": 336.8
  },
  "luminance": 0.12002
}

Semantic roles & 50–950 ramp

primary
#AD1F94
secondary
#60C872
accent
#EC5B3B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AD1F94

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

Preview Lab → · Contrast checker → · Palette generator →

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