#D151A0#D151A0

#D151A0 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.7% C 0.182 H 345.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#D151A0
RGBrgb(209, 81, 160)
HSLhsl(323, 58%, 57%)
HSVhsv(323, 61%, 82%)
CMYKcmyk(0%, 61.2%, 23.4%, 18%)
CIE-LABlab(54.01, 58.61, -17.11)
CIE-LCHlch(54.01, 61.05, 343.73°)
OKLaboklab(62.74% 0.1764 -0.0453)
OKLCHoklch(62.74% 0.182 345.6)
XYZxyz(35.5833, 21.9816, 35.6198)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151A0 #51D182
analogous
#C251D1 #D151A0 #D15160
triadic
#D151A0 #A0D151 #51A0D1
tetradic
#D151A0 #D1C251 #51D182 #5160D1
square
#D151A0 #D1C251 #51D182 #5160D1
split-complementary
#D151A0 #60D151 #51D1C2
monochromatic
#85235F #B53082 #D151A0 #DE81BA #EBB2D5

Accessibility & contrast

On white

3.89
#D151A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D151A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151A0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151A0#FFFFFF#000000##000000
##D151A01.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E73A2
Deuteranopia (green-blind)
#82899D
Tritanopia (blue-blind)
#DE4F72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d151a0;
/* rgb */ color: rgb(209, 81, 160);
/* oklch */ color: oklch(62.7% 0.182 345.6);
Tailwind
colors: {
  custom: {
    50: '#e289bc',
    500: '#d151a0',
    950: '#000000',
  },
}
SCSS
$custom: #d151a0;
$custom-light: #e289bc;
$custom-dark: #000000;
JSON
{
  "hex": "#d151a0",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 160
  },
  "hsl": {
    "h": 322.969,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62742,
    "c": 0.18214,
    "h": 345.6
  },
  "luminance": 0.21978
}

Semantic roles & 50–950 ramp

primary
#D151A0
secondary
#A5D9B9
accent
#E18246
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D151A0

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

Preview Lab → · Contrast checker → · Palette generator →

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