#D152C7#D152C7

#D152C7 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.6% C 0.208 H 330.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#D152C7
RGBrgb(209, 82, 199)
HSLhsl(305, 58%, 57%)
HSVhsv(305, 61%, 82%)
CMYKcmyk(0%, 60.8%, 4.8%, 18%)
CIE-LABlab(55.80, 64.01, -36.93)
CIE-LCHlch(55.80, 73.90, 330.02°)
OKLaboklab(64.6% 0.182 -0.1013)
OKLCHoklch(64.6% 0.208 330.9)
XYZxyz(39.6204, 23.7162, 56.5126)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152C7 #52D15C
analogous
#9B52D1 #D152C7 #D15288
triadic
#D152C7 #C7D152 #52C7D1
tetradic
#D152C7 #D19B52 #52D15C #5288D1
square
#D152C7 #D19B52 #52D15C #5288D1
split-complementary
#D152C7 #88D152 #52D19B
monochromatic
#85237D #B630AB #D152C7 #DE82D7 #EBB3E6

Accessibility & contrast

On white

3.66
#D152C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#D152C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152C7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152C7#FFFFFF#000000##000000
##D152C71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ACB
Deuteranopia (green-blind)
#758CC4
Tritanopia (blue-blind)
#D95E85
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d152c7;
/* rgb */ color: rgb(209, 82, 199);
/* oklch */ color: oklch(64.6% 0.208 330.9);
Tailwind
colors: {
  custom: {
    50: '#e28ad8',
    500: '#d152c7',
    950: '#000000',
  },
}
SCSS
$custom: #d152c7;
$custom-light: #e28ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#d152c7",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 304.724,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64595,
    "c": 0.2083,
    "h": 330.9
  },
  "luminance": 0.23713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D152C7

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

Preview Lab → · Contrast checker → · Palette generator →

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