#D152D1#D152D1

#D152D1 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.1% C 0.216 H 327.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#D152D1
RGBrgb(209, 82, 209)
HSLhsl(300, 58%, 57%)
HSVhsv(300, 61%, 82%)
CMYKcmyk(0%, 60.8%, 0%, 18%)
CIE-LABlab(56.28, 65.67, -41.88)
CIE-LCHlch(56.28, 77.89, 327.47°)
OKLaboklab(65.1% 0.1829 -0.1156)
OKLCHoklch(65.1% 0.216 327.7)
XYZxyz(40.8198, 24.1960, 62.8295)
Luminance0.2419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152D1 #52D152
analogous
#9252D1 #D152D1 #D15292
triadic
#D152D1 #D1D152 #52D1D1
tetradic
#D152D1 #D19252 #52D152 #5292D1
square
#D152D1 #D19252 #52D152 #5292D1
split-complementary
#D152D1 #92D152 #52D192
monochromatic
#852385 #B630B6 #D152D1 #DE82DE #EBB3EB

Accessibility & contrast

On white

3.60
#D152D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#D152D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152D1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152D1#FFFFFF#000000##000000
##D152D11.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#427CD5
Deuteranopia (green-blind)
#708DCD
Tritanopia (blue-blind)
#D7628A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d152d1;
/* rgb */ color: rgb(209, 82, 209);
/* oklch */ color: oklch(65.1% 0.216 327.7);
Tailwind
colors: {
  custom: {
    50: '#e28bdf',
    500: '#d152d1',
    950: '#000000',
  },
}
SCSS
$custom: #d152d1;
$custom-light: #e28bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#d152d1",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 300,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65101,
    "c": 0.21637,
    "h": 327.7
  },
  "luminance": 0.24193
}

Semantic roles & 50–950 ramp

primary
#D152D1
secondary
#A6D9A6
accent
#E14747
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D152D1

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

Preview Lab → · Contrast checker → · Palette generator →

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