#AD1F95#AD1F95

#AD1F95 is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.2% C 0.210 H 336.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AD1F95
RGBrgb(173, 31, 149)
HSLhsl(310, 70%, 40%)
HSVhsv(310, 82%, 68%)
CMYKcmyk(0%, 82.1%, 13.9%, 32.2%)
CIE-LABlab(41.27, 65.38, -30.71)
CIE-LCHlch(41.27, 72.23, 334.84°)
OKLaboklab(52.18% 0.1925 -0.0838)
OKLCHoklch(52.18% 0.21 336.5)
XYZxyz(23.1488, 12.0364, 29.5321)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F95 #1FAD37
analogous
#7E1FAD #AD1F95 #AD1F4E
triadic
#AD1F95 #95AD1F #1F95AD
tetradic
#AD1F95 #AD7E1F #1FAD37 #1F4EAD
square
#AD1F95 #AD7E1F #1FAD37 #1F4EAD
split-complementary
#AD1F95 #4EAD1F #1FAD7E
monochromatic
#450C3C #791668 #AD1F95 #DA2FBD #E363CD

Accessibility & contrast

On white

6.16
#AD1F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AD1F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F95
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F95#FFFFFF#000000##FFFFFF
##AD1F951.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235498
Deuteranopia (green-blind)
#586992
Tritanopia (blue-blind)
#B62B5A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad1f95;
/* rgb */ color: rgb(173, 31, 149);
/* oklch */ color: oklch(52.2% 0.210 336.5);
Tailwind
colors: {
  custom: {
    50: '#ca6eb4',
    500: '#ad1f95',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f95;
$custom-light: #ca6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f95",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 310.141,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.20997,
    "h": 336.5
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#AD1F95
secondary
#60C871
accent
#EC593B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AD1F95

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

Preview Lab → · Contrast checker → · Palette generator →

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