#D751A8#D751A8

#D751A8 is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.9% C 0.192 H 344.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D751A8
RGBrgb(215, 81, 168)
HSLhsl(321, 63%, 58%)
HSVhsv(321, 62%, 84%)
CMYKcmyk(0%, 62.3%, 21.9%, 15.7%)
CIE-LABlab(55.24, 61.39, -19.82)
CIE-LCHlch(55.24, 64.51, 342.11°)
OKLaboklab(63.93% 0.1843 -0.0528)
OKLCHoklch(63.93% 0.192 344)
XYZxyz(38.0358, 23.1627, 39.5059)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751A8 #51D780
analogous
#C351D7 #D751A8 #D75165
triadic
#D751A8 #A8D751 #51A8D7
tetradic
#D751A8 #D7C351 #51D780 #5165D7
square
#D751A8 #D7C351 #51D780 #5165D7
split-complementary
#D751A8 #65D751 #51D7C3
monochromatic
#8D2067 #BF2C8B #D751A8 #E283C1 #EEB5DA

Accessibility & contrast

On white

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

On black

5.63
#D751A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751A8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751A8#FFFFFF#000000##000000
##D751A81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d751a8;
/* rgb */ color: rgb(215, 81, 168);
/* oklch */ color: oklch(63.9% 0.192 344.0);
Tailwind
colors: {
  custom: {
    50: '#e78ac2',
    500: '#d751a8',
    950: '#000000',
  },
}
SCSS
$custom: #d751a8;
$custom-light: #e78ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#d751a8",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 168
  },
  "hsl": {
    "h": 321.045,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6393,
    "c": 0.19167,
    "h": 344
  },
  "luminance": 0.23159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D751A8

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

Preview Lab → · Contrast checker → · Palette generator →

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