#D152C1#D152C1

#D152C1 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.3% C 0.204 H 332.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#D152C1
RGBrgb(209, 82, 193)
HSLhsl(308, 58%, 57%)
HSVhsv(308, 61%, 82%)
CMYKcmyk(0%, 60.8%, 7.7%, 18%)
CIE-LABlab(55.53, 63.05, -33.92)
CIE-LCHlch(55.53, 71.59, 331.72°)
OKLaboklab(64.3% 0.1813 -0.0927)
OKLCHoklch(64.3% 0.204 332.9)
XYZxyz(38.9375, 23.4431, 52.9159)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152C1 #52D162
analogous
#A252D1 #D152C1 #D15282
triadic
#D152C1 #C1D152 #52C1D1
tetradic
#D152C1 #D1A252 #52D162 #5282D1
square
#D152C1 #D1A252 #52D162 #5282D1
split-complementary
#D152C1 #82D152 #52D1A2
monochromatic
#852379 #B630A5 #D152C1 #DE82D2 #EBB3E4

Accessibility & contrast

On white

3.69
#D152C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#D152C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152C1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152C1#FFFFFF#000000##000000
##D152C11.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C4
Deuteranopia (green-blind)
#778CBE
Tritanopia (blue-blind)
#DA5C82
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d152c1;
/* rgb */ color: rgb(209, 82, 193);
/* oklch */ color: oklch(64.3% 0.204 332.9);
Tailwind
colors: {
  custom: {
    50: '#e28ad4',
    500: '#d152c1',
    950: '#000000',
  },
}
SCSS
$custom: #d152c1;
$custom-light: #e28ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#d152c1",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 307.559,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64302,
    "c": 0.20362,
    "h": 332.9
  },
  "luminance": 0.2344
}

Semantic roles & 50–950 ramp

primary
#D152C1
secondary
#A6D9AC
accent
#E15A47
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D152C1

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

Preview Lab → · Contrast checker → · Palette generator →

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