#D152D2#D152D2

#D152D2 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.2% C 0.217 H 327.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D152D2
RGBrgb(209, 82, 210)
HSLhsl(300, 59%, 57%)
HSVhsv(300, 61%, 82%)
CMYKcmyk(0.5%, 61%, 0%, 17.6%)
CIE-LABlab(56.33, 65.84, -42.37)
CIE-LCHlch(56.33, 78.29, 327.24°)
OKLaboklab(65.15% 0.183 -0.117)
OKLCHoklch(65.15% 0.217 327.4)
XYZxyz(40.9440, 24.2457, 63.4836)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152D2 #53D252
analogous
#9152D2 #D152D2 #D25293
triadic
#D152D2 #D2D152 #52D2D1
tetradic
#D152D2 #D29152 #53D252 #5293D2
square
#D152D2 #D29152 #53D252 #5293D2
split-complementary
#D152D2 #93D252 #52D291
monochromatic
#862387 #B630B7 #D152D2 #DE83DF #EBB3EB

Accessibility & contrast

On white

3.59
#D152D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D152D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152D2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152D2#FFFFFF#000000##000000
##D152D21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#427CD6
Deuteranopia (green-blind)
#6F8DCE
Tritanopia (blue-blind)
#D7638B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d152d2;
/* rgb */ color: rgb(209, 82, 210);
/* oklch */ color: oklch(65.2% 0.217 327.4);
Tailwind
colors: {
  custom: {
    50: '#e28be0',
    500: '#d152d2',
    950: '#000000',
  },
}
SCSS
$custom: #d152d2;
$custom-light: #e28be0;
$custom-dark: #000000;
JSON
{
  "hex": "#d152d2",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 299.531,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65153,
    "c": 0.21719,
    "h": 327.4
  },
  "luminance": 0.24243
}

Semantic roles & 50–950 ramp

primary
#D152D2
secondary
#A6DAA6
accent
#E24647
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D152D2

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

Preview Lab → · Contrast checker → · Palette generator →

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