#D752CB#D752CB

#D752CB is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.6% C 0.215 H 331.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#D752CB
RGBrgb(215, 82, 203)
HSLhsl(305, 62%, 58%)
HSVhsv(305, 62%, 84%)
CMYKcmyk(0%, 61.9%, 5.6%, 15.7%)
CIE-LABlab(56.88, 66.17, -37.47)
CIE-LCHlch(56.88, 76.04, 330.48°)
OKLaboklab(65.61% 0.1888 -0.1027)
OKLCHoklch(65.61% 0.215 331.4)
XYZxyz(41.8210, 24.7965, 59.0718)
Luminance0.2479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D752CB #52D75E
analogous
#A152D7 #D752CB #D75288
triadic
#D752CB #CBD752 #52CBD7
tetradic
#D752CB #D7A152 #52D75E #5288D7
square
#D752CB #D7A152 #52D75E #5288D7
split-complementary
#D752CB #88D752 #52D7A1
monochromatic
#8E2184 #C02CB2 #D752CB #E284DA #EEB5E9

Accessibility & contrast

On white

3.52
#D752CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#D752CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D752CB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D752CB#FFFFFF#000000##000000
##D752CB1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCF
Deuteranopia (green-blind)
#778FC7
Tritanopia (blue-blind)
#DF5F87
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d752cb;
/* rgb */ color: rgb(215, 82, 203);
/* oklch */ color: oklch(65.6% 0.215 331.4);
Tailwind
colors: {
  custom: {
    50: '#e78bdb',
    500: '#d752cb',
    950: '#000000',
  },
}
SCSS
$custom: #d752cb;
$custom-light: #e78bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d752cb",
  "rgb": {
    "r": 215,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 305.414,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65615,
    "c": 0.21494,
    "h": 331.4
  },
  "luminance": 0.24793
}

Semantic roles & 50–950 ramp

primary
#D752CB
secondary
#A8DDAD
accent
#E65142
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D752CB

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

Preview Lab → · Contrast checker → · Palette generator →

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