#D151B9#D151B9

#D151B9 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.8% C 0.199 H 335.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#D151B9
RGBrgb(209, 81, 185)
HSLhsl(311, 58%, 57%)
HSVhsv(311, 61%, 82%)
CMYKcmyk(0%, 61.2%, 11.5%, 18%)
CIE-LABlab(55.02, 62.22, -30.11)
CIE-LCHlch(55.02, 69.12, 334.18°)
OKLaboklab(63.81% 0.1814 -0.0818)
OKLCHoklch(63.81% 0.199 335.7)
XYZxyz(37.9942, 22.9460, 48.3175)
Luminance0.2294 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151B9 #51D169
analogous
#A951D1 #D151B9 #D15179
triadic
#D151B9 #B9D151 #51B9D1
tetradic
#D151B9 #D1A951 #51D169 #5179D1
square
#D151B9 #D1A951 #51D169 #5179D1
split-complementary
#D151B9 #79D151 #51D1A9
monochromatic
#852372 #B5309C #D151B9 #DE81CC #EBB2E0

Accessibility & contrast

On white

3.76
#D151B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#D151B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151B9
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151B9#FFFFFF#000000##000000
##D151B91.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5277BC
Deuteranopia (green-blind)
#7A8BB6
Tritanopia (blue-blind)
#DB587E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d151b9;
/* rgb */ color: rgb(209, 81, 185);
/* oklch */ color: oklch(63.8% 0.199 335.7);
Tailwind
colors: {
  custom: {
    50: '#e289ce',
    500: '#d151b9',
    950: '#000000',
  },
}
SCSS
$custom: #d151b9;
$custom-light: #e289ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d151b9",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 185
  },
  "hsl": {
    "h": 311.25,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63814,
    "c": 0.19898,
    "h": 335.7
  },
  "luminance": 0.22943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D151B9

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

Preview Lab → · Contrast checker → · Palette generator →

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