#D152C9#D152C9

#D152C9 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.210 H 330.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#D152C9
RGBrgb(209, 82, 201)
HSLhsl(304, 58%, 57%)
HSVhsv(304, 61%, 82%)
CMYKcmyk(0%, 60.8%, 3.8%, 18%)
CIE-LABlab(55.90, 64.34, -37.93)
CIE-LCHlch(55.90, 74.69, 329.48°)
OKLaboklab(64.69% 0.1822 -0.1042)
OKLCHoklch(64.69% 0.21 330.2)
XYZxyz(39.8541, 23.8097, 57.7436)
Luminance0.2381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152C9 #52D15A
analogous
#9A52D1 #D152C9 #D15289
triadic
#D152C9 #C9D152 #52C9D1
tetradic
#D152C9 #D19A52 #52D15A #5289D1
square
#D152C9 #D19A52 #52D15A #5289D1
split-complementary
#D152C9 #89D152 #52D19A
monochromatic
#85237F #B630AD #D152C9 #DE82D8 #EBB3E7

Accessibility & contrast

On white

3.64
#D152C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#D152C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152C9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152C9#FFFFFF#000000##000000
##D152C91.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#497BCD
Deuteranopia (green-blind)
#748CC6
Tritanopia (blue-blind)
#D85F86
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d152c9;
/* rgb */ color: rgb(209, 82, 201);
/* oklch */ color: oklch(64.7% 0.210 330.2);
Tailwind
colors: {
  custom: {
    50: '#e28ada',
    500: '#d152c9',
    950: '#000000',
  },
}
SCSS
$custom: #d152c9;
$custom-light: #e28ada;
$custom-dark: #000000;
JSON
{
  "hex": "#d152c9",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 201
  },
  "hsl": {
    "h": 303.78,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64694,
    "c": 0.2099,
    "h": 330.2
  },
  "luminance": 0.23807
}

Semantic roles & 50–950 ramp

primary
#D152C9
secondary
#A6D9A9
accent
#E15047
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C15
muted
#847D83

Preview Lab

Preview with #D152C9

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

Preview Lab → · Contrast checker → · Palette generator →

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