#D151B4#D151B4

#D151B4 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.6% C 0.195 H 337.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#D151B4
RGBrgb(209, 81, 180)
HSLhsl(314, 58%, 57%)
HSVhsv(314, 61%, 82%)
CMYKcmyk(0%, 61.2%, 13.9%, 18%)
CIE-LABlab(54.80, 61.46, -27.55)
CIE-LCHlch(54.80, 67.35, 335.86°)
OKLaboklab(63.59% 0.1806 -0.0745)
OKLCHoklch(63.59% 0.195 337.6)
XYZxyz(37.4757, 22.7386, 45.5864)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151B4 #51D16E
analogous
#AE51D1 #D151B4 #D15174
triadic
#D151B4 #B4D151 #51B4D1
tetradic
#D151B4 #D1AE51 #51D16E #5174D1
square
#D151B4 #D1AE51 #51D16E #5174D1
split-complementary
#D151B4 #74D151 #51D1AE
monochromatic
#85236E #B53097 #D151B4 #DE81C9 #EBB2DE

Accessibility & contrast

On white

3.79
#D151B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#D151B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151B4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151B4#FFFFFF#000000##000000
##D151B41.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5577B7
Deuteranopia (green-blind)
#7C8AB1
Tritanopia (blue-blind)
#DC567B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d151b4;
/* rgb */ color: rgb(209, 81, 180);
/* oklch */ color: oklch(63.6% 0.195 337.6);
Tailwind
colors: {
  custom: {
    50: '#e289ca',
    500: '#d151b4',
    950: '#000000',
  },
}
SCSS
$custom: #d151b4;
$custom-light: #e289ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d151b4",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 313.594,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63587,
    "c": 0.19536,
    "h": 337.6
  },
  "luminance": 0.22735
}

Semantic roles & 50–950 ramp

primary
#D151B4
secondary
#A5D9B1
accent
#E16A46
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D151B4

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

Preview Lab → · Contrast checker → · Palette generator →

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