#D151B5#D151B5

#D151B5 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.6% C 0.196 H 337.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#D151B5
RGBrgb(209, 81, 181)
HSLhsl(313, 58%, 57%)
HSVhsv(313, 61%, 82%)
CMYKcmyk(0%, 61.2%, 13.4%, 18%)
CIE-LABlab(54.84, 61.61, -28.06)
CIE-LCHlch(54.84, 67.70, 335.51°)
OKLaboklab(63.63% 0.1808 -0.076)
OKLCHoklch(63.63% 0.196 337.2)
XYZxyz(37.5779, 22.7795, 46.1248)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151B5 #51D16D
analogous
#AD51D1 #D151B5 #D15175
triadic
#D151B5 #B5D151 #51B5D1
tetradic
#D151B5 #D1AD51 #51D16D #5175D1
square
#D151B5 #D1AD51 #51D16D #5175D1
split-complementary
#D151B5 #75D151 #51D1AD
monochromatic
#85236F #B53098 #D151B5 #DE81CA #EBB2DE

Accessibility & contrast

On white

3.78
#D151B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#D151B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151B5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151B5#FFFFFF#000000##000000
##D151B51.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5477B8
Deuteranopia (green-blind)
#7B8AB2
Tritanopia (blue-blind)
#DB577C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d151b5;
/* rgb */ color: rgb(209, 81, 181);
/* oklch */ color: oklch(63.6% 0.196 337.2);
Tailwind
colors: {
  custom: {
    50: '#e289cb',
    500: '#d151b5',
    950: '#000000',
  },
}
SCSS
$custom: #d151b5;
$custom-light: #e289cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d151b5",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 181
  },
  "hsl": {
    "h": 313.125,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63632,
    "c": 0.19607,
    "h": 337.2
  },
  "luminance": 0.22776
}

Semantic roles & 50–950 ramp

primary
#D151B5
secondary
#A5D9B0
accent
#E16846
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D151B5

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

Preview Lab → · Contrast checker → · Palette generator →

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