#D751B7#D751B7

#D751B7 is a light, highly saturated pink. Relative luminance 0.238; OKLCH L 64.6% C 0.202 H 338.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#D751B7
RGBrgb(215, 81, 183)
HSLhsl(314, 63%, 58%)
HSVhsv(314, 62%, 84%)
CMYKcmyk(0%, 62.3%, 14.9%, 15.7%)
CIE-LABlab(55.84, 63.51, -27.60)
CIE-LCHlch(55.84, 69.25, 336.51°)
OKLaboklab(64.57% 0.1872 -0.0746)
OKLCHoklch(64.57% 0.202 338.3)
XYZxyz(39.5147, 23.7542, 47.2945)
Luminance0.2375 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751B7 #51D771
analogous
#B451D7 #D751B7 #D75174
triadic
#D751B7 #B7D751 #51B7D7
tetradic
#D751B7 #D7B451 #51D771 #5174D7
square
#D751B7 #D7B451 #51D771 #5174D7
split-complementary
#D751B7 #74D751 #51D7B4
monochromatic
#8D2073 #BF2C9C #D751B7 #E283CC #EEB5E0

Accessibility & contrast

On white

3.65
#D751B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#D751B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751B7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751B7#FFFFFF#000000##000000
##D751B71.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5678BA
Deuteranopia (green-blind)
#7F8DB4
Tritanopia (blue-blind)
#E2567D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d751b7;
/* rgb */ color: rgb(215, 81, 183);
/* oklch */ color: oklch(64.6% 0.202 338.3);
Tailwind
colors: {
  custom: {
    50: '#e78acd',
    500: '#d751b7',
    950: '#000000',
  },
}
SCSS
$custom: #d751b7;
$custom-light: #e78acd;
$custom-dark: #000000;
JSON
{
  "hex": "#d751b7",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 183
  },
  "hsl": {
    "h": 314.328,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64569,
    "c": 0.20155,
    "h": 338.3
  },
  "luminance": 0.23751
}

Semantic roles & 50–950 ramp

primary
#D751B7
secondary
#A7DDB4
accent
#E66942
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D751B7

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

Preview Lab → · Contrast checker → · Palette generator →

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