#D152C5#D152C5

#D152C5 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.207 H 331.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#D152C5
RGBrgb(209, 82, 197)
HSLhsl(306, 58%, 57%)
HSVhsv(306, 61%, 82%)
CMYKcmyk(0%, 60.8%, 5.7%, 18%)
CIE-LABlab(55.71, 63.69, -35.93)
CIE-LCHlch(55.71, 73.12, 330.57°)
OKLaboklab(64.5% 0.1818 -0.0984)
OKLCHoklch(64.5% 0.207 331.6)
XYZxyz(39.3897, 23.6240, 55.2977)
Luminance0.2362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152C5 #52D15E
analogous
#9D52D1 #D152C5 #D15286
triadic
#D152C5 #C5D152 #52C5D1
tetradic
#D152C5 #D19D52 #52D15E #5286D1
square
#D152C5 #D19D52 #52D15E #5286D1
split-complementary
#D152C5 #86D152 #52D19D
monochromatic
#85237C #B630A9 #D152C5 #DE82D5 #EBB3E5

Accessibility & contrast

On white

3.67
#D152C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#D152C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152C5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152C5#FFFFFF#000000##000000
##D152C51.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7AC9
Deuteranopia (green-blind)
#768CC2
Tritanopia (blue-blind)
#D95E84
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d152c5;
/* rgb */ color: rgb(209, 82, 197);
/* oklch */ color: oklch(64.5% 0.207 331.6);
Tailwind
colors: {
  custom: {
    50: '#e28ad7',
    500: '#d152c5',
    950: '#000000',
  },
}
SCSS
$custom: #d152c5;
$custom-light: #e28ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#d152c5",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 197
  },
  "hsl": {
    "h": 305.669,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64496,
    "c": 0.20673,
    "h": 331.6
  },
  "luminance": 0.23621
}

Semantic roles & 50–950 ramp

primary
#D152C5
secondary
#A6D9AA
accent
#E15547
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D152C5

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

Preview Lab → · Contrast checker → · Palette generator →

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