#D151BB#D151BB

#D151BB is a light, highly saturated pink. Relative luminance 0.230; OKLCH L 63.9% C 0.200 H 335.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#D151BB
RGBrgb(209, 81, 187)
HSLhsl(310, 58%, 57%)
HSVhsv(310, 61%, 82%)
CMYKcmyk(0%, 61.2%, 10.5%, 18%)
CIE-LABlab(55.10, 62.53, -31.13)
CIE-LCHlch(55.10, 69.84, 333.54°)
OKLaboklab(63.91% 0.1817 -0.0847)
OKLCHoklch(63.91% 0.2 335)
XYZxyz(38.2069, 23.0310, 49.4372)
Luminance0.2303 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151BB #51D167
analogous
#A751D1 #D151BB #D1517B
triadic
#D151BB #BBD151 #51BBD1
tetradic
#D151BB #D1A751 #51D167 #517BD1
square
#D151BB #D1A751 #51D167 #517BD1
split-complementary
#D151BB #7BD151 #51D1A7
monochromatic
#852374 #B5309E #D151BB #DE81CE #EBB2E1

Accessibility & contrast

On white

3.75
#D151BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#D151BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151BB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151BB#FFFFFF#000000##000000
##D151BB1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#798BB8
Tritanopia (blue-blind)
#DB597F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d151bb;
/* rgb */ color: rgb(209, 81, 187);
/* oklch */ color: oklch(63.9% 0.200 335.0);
Tailwind
colors: {
  custom: {
    50: '#e289cf',
    500: '#d151bb',
    950: '#000000',
  },
}
SCSS
$custom: #d151bb;
$custom-light: #e289cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d151bb",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 310.313,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63907,
    "c": 0.20046,
    "h": 335
  },
  "luminance": 0.23028
}

Semantic roles & 50–950 ramp

primary
#D151BB
secondary
#A5D9AE
accent
#E16146
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D151BB

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

Preview Lab → · Contrast checker → · Palette generator →

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