#D151B7#D151B7

#D151B7 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.7% C 0.198 H 336.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#D151B7
RGBrgb(209, 81, 183)
HSLhsl(312, 58%, 57%)
HSVhsv(312, 61%, 82%)
CMYKcmyk(0%, 61.2%, 12.4%, 18%)
CIE-LABlab(54.93, 61.91, -29.09)
CIE-LCHlch(54.93, 68.40, 334.84°)
OKLaboklab(63.72% 0.1811 -0.0789)
OKLCHoklch(63.72% 0.198 336.5)
XYZxyz(37.7846, 22.8621, 47.2134)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151B7 #51D16B
analogous
#AB51D1 #D151B7 #D15177
triadic
#D151B7 #B7D151 #51B7D1
tetradic
#D151B7 #D1AB51 #51D16B #5177D1
square
#D151B7 #D1AB51 #51D16B #5177D1
split-complementary
#D151B7 #77D151 #51D1AB
monochromatic
#852371 #B5309A #D151B7 #DE81CB #EBB2DF

Accessibility & contrast

On white

3.77
#D151B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#D151B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151B7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151B7#FFFFFF#000000##000000
##D151B71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5377BA
Deuteranopia (green-blind)
#7B8BB4
Tritanopia (blue-blind)
#DB587D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d151b7;
/* rgb */ color: rgb(209, 81, 183);
/* oklch */ color: oklch(63.7% 0.198 336.5);
Tailwind
colors: {
  custom: {
    50: '#e289cd',
    500: '#d151b7',
    950: '#000000',
  },
}
SCSS
$custom: #d151b7;
$custom-light: #e289cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d151b7",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 183
  },
  "hsl": {
    "h": 312.188,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63722,
    "c": 0.19752,
    "h": 336.5
  },
  "luminance": 0.22859
}

Semantic roles & 50–950 ramp

primary
#D151B7
secondary
#A5D9AF
accent
#E16646
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D151B7

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

Preview Lab → · Contrast checker → · Palette generator →

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