#D751A2#D751A2

#D751A2 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.7% C 0.188 H 346.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#D751A2
RGBrgb(215, 81, 162)
HSLhsl(324, 63%, 58%)
HSVhsv(324, 62%, 84%)
CMYKcmyk(0%, 62.3%, 24.7%, 15.7%)
CIE-LABlab(55.01, 60.59, -16.66)
CIE-LCHlch(55.01, 62.84, 344.63°)
OKLaboklab(63.69% 0.1829 -0.044)
OKLCHoklch(63.69% 0.188 346.5)
XYZxyz(37.4897, 22.9442, 36.6297)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751A2 #51D786
analogous
#C951D7 #D751A2 #D7515F
triadic
#D751A2 #A2D751 #51A2D7
tetradic
#D751A2 #D7C951 #51D786 #515FD7
square
#D751A2 #D7C951 #51D786 #515FD7
split-complementary
#D751A2 #5FD751 #51D7C9
monochromatic
#8D2062 #BF2C85 #D751A2 #E283BD #EEB5D7

Accessibility & contrast

On white

3.76
#D751A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#D751A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751A2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751A2#FFFFFF#000000##000000
##D751A21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6075A4
Deuteranopia (green-blind)
#868C9F
Tritanopia (blue-blind)
#E54E73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d751a2;
/* rgb */ color: rgb(215, 81, 162);
/* oklch */ color: oklch(63.7% 0.188 346.5);
Tailwind
colors: {
  custom: {
    50: '#e789bd',
    500: '#d751a2',
    950: '#000000',
  },
}
SCSS
$custom: #d751a2;
$custom-light: #e789bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d751a2",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 323.731,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63691,
    "c": 0.18808,
    "h": 346.5
  },
  "luminance": 0.22941
}

Semantic roles & 50–950 ramp

primary
#D751A2
secondary
#A7DDBC
accent
#E68342
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D751A2

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

Preview Lab → · Contrast checker → · Palette generator →

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