#D151A4#D151A4

#D151A4 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.9% C 0.185 H 343.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D151A4
RGBrgb(209, 81, 164)
HSLhsl(321, 58%, 57%)
HSVhsv(321, 61%, 82%)
CMYKcmyk(0%, 61.2%, 21.5%, 18%)
CIE-LABlab(54.16, 59.15, -19.22)
CIE-LCHlch(54.16, 62.20, 342.00°)
OKLaboklab(62.9% 0.1774 -0.0512)
OKLCHoklch(62.9% 0.185 343.9)
XYZxyz(35.9388, 22.1238, 37.4923)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151A4 #51D17E
analogous
#BE51D1 #D151A4 #D15164
triadic
#D151A4 #A4D151 #51A4D1
tetradic
#D151A4 #D1BE51 #51D17E #5164D1
square
#D151A4 #D1BE51 #51D17E #5164D1
split-complementary
#D151A4 #64D151 #51D1BE
monochromatic
#852362 #B53086 #D151A4 #DE81BD #EBB2D7

Accessibility & contrast

On white

3.87
#D151A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D151A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151A4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151A4#FFFFFF#000000##000000
##D151A41.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C74A7
Deuteranopia (green-blind)
#8189A1
Tritanopia (blue-blind)
#DE5173
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d151a4;
/* rgb */ color: rgb(209, 81, 164);
/* oklch */ color: oklch(62.9% 0.185 343.9);
Tailwind
colors: {
  custom: {
    50: '#e289bf',
    500: '#d151a4',
    950: '#000000',
  },
}
SCSS
$custom: #d151a4;
$custom-light: #e289bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d151a4",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 321.094,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62903,
    "c": 0.18459,
    "h": 343.9
  },
  "luminance": 0.22121
}

Semantic roles & 50–950 ramp

primary
#D151A4
secondary
#A5D9B7
accent
#E17D46
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D151A4

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

Preview Lab → · Contrast checker → · Palette generator →

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