#D151A1#D151A1

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

Color values

HEX#D151A1
RGBrgb(209, 81, 161)
HSLhsl(323, 58%, 57%)
HSVhsv(323, 61%, 82%)
CMYKcmyk(0%, 61.2%, 23%, 18%)
CIE-LABlab(54.04, 58.74, -17.63)
CIE-LCHlch(54.04, 61.33, 343.29°)
OKLaboklab(62.78% 0.1767 -0.0468)
OKLCHoklch(62.78% 0.183 345.2)
XYZxyz(35.6711, 22.0167, 36.0823)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151A1 #51D181
analogous
#C151D1 #D151A1 #D15161
triadic
#D151A1 #A1D151 #51A1D1
tetradic
#D151A1 #D1C151 #51D181 #5161D1
square
#D151A1 #D1C151 #51D181 #5161D1
split-complementary
#D151A1 #61D151 #51D1C1
monochromatic
#852360 #B53083 #D151A1 #DE81BB #EBB2D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D151A1#FFFFFF#000000##000000
##D151A11.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)
#5D74A3
Deuteranopia (green-blind)
#82899E
Tritanopia (blue-blind)
#DE5072
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d151a1;
/* rgb */ color: rgb(209, 81, 161);
/* oklch */ color: oklch(62.8% 0.183 345.2);
Tailwind
colors: {
  custom: {
    50: '#e289bd',
    500: '#d151a1',
    950: '#000000',
  },
}
SCSS
$custom: #d151a1;
$custom-light: #e289bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d151a1",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 161
  },
  "hsl": {
    "h": 322.5,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62782,
    "c": 0.18274,
    "h": 345.2
  },
  "luminance": 0.22013
}

Semantic roles & 50–950 ramp

primary
#D151A1
secondary
#A5D9B8
accent
#E18146
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D151A1

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

Preview Lab → · Contrast checker → · Palette generator →

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