#D151A7#D151A7

#D151A7 is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.0% C 0.186 H 342.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#D151A7
RGBrgb(209, 81, 167)
HSLhsl(320, 58%, 57%)
HSVhsv(320, 61%, 82%)
CMYKcmyk(0%, 61.2%, 20.1%, 18%)
CIE-LABlab(54.27, 59.57, -20.80)
CIE-LCHlch(54.27, 63.10, 340.76°)
OKLaboklab(63.03% 0.178 -0.0555)
OKLCHoklch(63.03% 0.187 342.7)
XYZxyz(36.2130, 22.2335, 38.9360)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151A7 #51D17B
analogous
#BB51D1 #D151A7 #D15167
triadic
#D151A7 #A7D151 #51A7D1
tetradic
#D151A7 #D1BB51 #51D17B #5167D1
square
#D151A7 #D1BB51 #51D17B #5167D1
split-complementary
#D151A7 #67D151 #51D1BB
monochromatic
#852365 #B53089 #D151A7 #DE81BF #EBB2D8

Accessibility & contrast

On white

3.86
#D151A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#D151A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151A7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151A7#FFFFFF#000000##000000
##D151A71.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B74AA
Deuteranopia (green-blind)
#808AA4
Tritanopia (blue-blind)
#DD5275
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d151a7;
/* rgb */ color: rgb(209, 81, 167);
/* oklch */ color: oklch(63.0% 0.186 342.7);
Tailwind
colors: {
  custom: {
    50: '#e289c1',
    500: '#d151a7',
    950: '#000000',
  },
}
SCSS
$custom: #d151a7;
$custom-light: #e289c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d151a7",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 319.688,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63026,
    "c": 0.1865,
    "h": 342.7
  },
  "luminance": 0.2223
}

Semantic roles & 50–950 ramp

primary
#D151A7
secondary
#A5D9B6
accent
#E17946
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D151A7

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

Preview Lab → · Contrast checker → · Palette generator →

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