#D151AD#D151AD

#D151AD is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.3% C 0.190 H 340.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#D151AD
RGBrgb(209, 81, 173)
HSLhsl(317, 58%, 57%)
HSVhsv(317, 61%, 82%)
CMYKcmyk(0%, 61.2%, 17.2%, 18%)
CIE-LABlab(54.51, 60.43, -23.93)
CIE-LCHlch(54.51, 64.99, 338.40°)
OKLaboklab(63.28% 0.1793 -0.0643)
OKLCHoklch(63.28% 0.19 340.3)
XYZxyz(36.7805, 22.4605, 41.9253)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151AD #51D175
analogous
#B551D1 #D151AD #D1516D
triadic
#D151AD #ADD151 #51ADD1
tetradic
#D151AD #D1B551 #51D175 #516DD1
square
#D151AD #D1B551 #51D175 #516DD1
split-complementary
#D151AD #6DD151 #51D1B5
monochromatic
#852369 #B53090 #D151AD #DE81C4 #EBB2DB

Accessibility & contrast

On white

3.82
#D151AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#D151AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151AD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151AD#FFFFFF#000000##000000
##D151AD1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5875B0
Deuteranopia (green-blind)
#7E8AAA
Tritanopia (blue-blind)
#DD5478
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d151ad;
/* rgb */ color: rgb(209, 81, 173);
/* oklch */ color: oklch(63.3% 0.190 340.3);
Tailwind
colors: {
  custom: {
    50: '#e289c5',
    500: '#d151ad',
    950: '#000000',
  },
}
SCSS
$custom: #d151ad;
$custom-light: #e289c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d151ad",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 316.875,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63279,
    "c": 0.19047,
    "h": 340.3
  },
  "luminance": 0.22457
}

Semantic roles & 50–950 ramp

primary
#D151AD
secondary
#A5D9B3
accent
#E17246
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D151AD

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

Preview Lab → · Contrast checker → · Palette generator →

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