#D751A7#D751A7

#D751A7 is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.9% C 0.191 H 344.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#D751A7
RGBrgb(215, 81, 167)
HSLhsl(321, 63%, 58%)
HSVhsv(321, 62%, 84%)
CMYKcmyk(0%, 62.3%, 22.3%, 15.7%)
CIE-LABlab(55.20, 61.26, -19.30)
CIE-LCHlch(55.20, 64.22, 342.52°)
OKLaboklab(63.89% 0.184 -0.0513)
OKLCHoklch(63.89% 0.191 344.4)
XYZxyz(37.9430, 23.1255, 39.0171)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751A7 #51D781
analogous
#C451D7 #D751A7 #D75164
triadic
#D751A7 #A7D751 #51A7D7
tetradic
#D751A7 #D7C451 #51D781 #5164D7
square
#D751A7 #D7C451 #51D781 #5164D7
split-complementary
#D751A7 #64D751 #51D7C4
monochromatic
#8D2066 #BF2C8A #D751A7 #E283C0 #EEB5D9

Accessibility & contrast

On white

3.73
#D751A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#D751A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751A7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751A7#FFFFFF#000000##000000
##D751A71.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E76AA
Deuteranopia (green-blind)
#848CA4
Tritanopia (blue-blind)
#E45075
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d751a7;
/* rgb */ color: rgb(215, 81, 167);
/* oklch */ color: oklch(63.9% 0.191 344.4);
Tailwind
colors: {
  custom: {
    50: '#e78ac1',
    500: '#d751a7',
    950: '#000000',
  },
}
SCSS
$custom: #d751a7;
$custom-light: #e78ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#d751a7",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 321.493,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6389,
    "c": 0.19106,
    "h": 344.4
  },
  "luminance": 0.23122
}

Semantic roles & 50–950 ramp

primary
#D751A7
secondary
#A7DDBA
accent
#E67D42
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D751A7

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

Preview Lab → · Contrast checker → · Palette generator →

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