#D751B1#D751B1

#D751B1 is a light, vivid pink. Relative luminance 0.235; OKLCH L 64.3% C 0.197 H 340.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#D751B1
RGBrgb(215, 81, 177)
HSLhsl(317, 63%, 58%)
HSVhsv(317, 62%, 84%)
CMYKcmyk(0%, 62.3%, 17.7%, 15.7%)
CIE-LABlab(55.59, 62.65, -24.51)
CIE-LCHlch(55.59, 67.27, 338.63°)
OKLaboklab(64.31% 0.1861 -0.0659)
OKLCHoklch(64.31% 0.197 340.5)
XYZxyz(38.9035, 23.5097, 44.0754)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751B1 #51D777
analogous
#BA51D7 #D751B1 #D7516E
triadic
#D751B1 #B1D751 #51B1D7
tetradic
#D751B1 #D7BA51 #51D777 #516ED7
square
#D751B1 #D7BA51 #51D777 #516ED7
split-complementary
#D751B1 #6ED751 #51D7BA
monochromatic
#8D206E #BF2C95 #D751B1 #E283C7 #EEB5DE

Accessibility & contrast

On white

3.68
#D751B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#D751B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751B1
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751B1#FFFFFF#000000##000000
##D751B11.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5977B4
Deuteranopia (green-blind)
#818DAE
Tritanopia (blue-blind)
#E3547A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d751b1;
/* rgb */ color: rgb(215, 81, 177);
/* oklch */ color: oklch(64.3% 0.197 340.5);
Tailwind
colors: {
  custom: {
    50: '#e78ac8',
    500: '#d751b1',
    950: '#000000',
  },
}
SCSS
$custom: #d751b1;
$custom-light: #e78ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#d751b1",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 177
  },
  "hsl": {
    "h": 317.015,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64306,
    "c": 0.19745,
    "h": 340.5
  },
  "luminance": 0.23506
}

Semantic roles & 50–950 ramp

primary
#D751B1
secondary
#A7DDB6
accent
#E67142
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D751B1

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

Preview Lab → · Contrast checker → · Palette generator →

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