#D151AB#D151AB

#D151AB is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.2% C 0.189 H 341.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#D151AB
RGBrgb(209, 81, 171)
HSLhsl(318, 58%, 57%)
HSVhsv(318, 61%, 82%)
CMYKcmyk(0%, 61.2%, 18.2%, 18%)
CIE-LABlab(54.43, 60.14, -22.89)
CIE-LCHlch(54.43, 64.35, 339.16°)
OKLaboklab(63.19% 0.1789 -0.0614)
OKLCHoklch(63.19% 0.189 341.1)
XYZxyz(36.5885, 22.3837, 40.9137)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151AB #51D177
analogous
#B751D1 #D151AB #D1516B
triadic
#D151AB #ABD151 #51ABD1
tetradic
#D151AB #D1B751 #51D177 #516BD1
square
#D151AB #D1B751 #51D177 #516BD1
split-complementary
#D151AB #6BD151 #51D1B7
monochromatic
#852368 #B5308D #D151AB #DE81C2 #EBB2DA

Accessibility & contrast

On white

3.83
#D151AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#D151AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151AB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151AB#FFFFFF#000000##000000
##D151AB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5975AE
Deuteranopia (green-blind)
#7F8AA8
Tritanopia (blue-blind)
#DD5377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d151ab;
/* rgb */ color: rgb(209, 81, 171);
/* oklch */ color: oklch(63.2% 0.189 341.1);
Tailwind
colors: {
  custom: {
    50: '#e289c4',
    500: '#d151ab',
    950: '#000000',
  },
}
SCSS
$custom: #d151ab;
$custom-light: #e289c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d151ab",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 317.813,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63194,
    "c": 0.18912,
    "h": 341.1
  },
  "luminance": 0.2238
}

Semantic roles & 50–950 ramp

primary
#D151AB
secondary
#A5D9B4
accent
#E17446
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #D151AB

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

Preview Lab → · Contrast checker → · Palette generator →

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