#D151A9#D151A9

#D151A9 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.1% C 0.188 H 341.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D151A9
RGBrgb(209, 81, 169)
HSLhsl(319, 58%, 57%)
HSVhsv(319, 61%, 82%)
CMYKcmyk(0%, 61.2%, 19.1%, 18%)
CIE-LABlab(54.35, 59.85, -21.84)
CIE-LCHlch(54.35, 63.71, 339.95°)
OKLaboklab(63.11% 0.1785 -0.0585)
OKLCHoklch(63.11% 0.188 341.9)
XYZxyz(36.3993, 22.3080, 39.9173)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151A9 #51D179
analogous
#B951D1 #D151A9 #D15169
triadic
#D151A9 #A9D151 #51A9D1
tetradic
#D151A9 #D1B951 #51D179 #5169D1
square
#D151A9 #D1B951 #51D179 #5169D1
split-complementary
#D151A9 #69D151 #51D1B9
monochromatic
#852366 #B5308B #D151A9 #DE81C1 #EBB2D9

Accessibility & contrast

On white

3.85
#D151A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D151A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151A9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151A9#FFFFFF#000000##000000
##D151A91.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AC
Deuteranopia (green-blind)
#808AA6
Tritanopia (blue-blind)
#DD5276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d151a9;
/* rgb */ color: rgb(209, 81, 169);
/* oklch */ color: oklch(63.1% 0.188 341.9);
Tailwind
colors: {
  custom: {
    50: '#e289c2',
    500: '#d151a9',
    950: '#000000',
  },
}
SCSS
$custom: #d151a9;
$custom-light: #e289c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d151a9",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 169
  },
  "hsl": {
    "h": 318.75,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63109,
    "c": 0.18781,
    "h": 341.9
  },
  "luminance": 0.22305
}

Semantic roles & 50–950 ramp

primary
#D151A9
secondary
#A5D9B5
accent
#E17746
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D151A9

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

Preview Lab → · Contrast checker → · Palette generator →

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