#D152BC#D152BC

#D152BC is a light, vivid purple. Relative luminance 0.232; OKLCH L 64.1% C 0.200 H 334.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#D152BC
RGBrgb(209, 82, 188)
HSLhsl(310, 58%, 57%)
HSVhsv(310, 61%, 82%)
CMYKcmyk(0%, 60.8%, 10%, 18%)
CIE-LABlab(55.30, 62.26, -31.39)
CIE-LCHlch(55.30, 69.73, 333.24°)
OKLaboklab(64.07% 0.1806 -0.0855)
OKLCHoklch(64.07% 0.2 334.7)
XYZxyz(38.3891, 23.2237, 50.0279)
Luminance0.2322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152BC #52D167
analogous
#A652D1 #D152BC #D1527D
triadic
#D152BC #BCD152 #52BCD1
tetradic
#D152BC #D1A652 #52D167 #527DD1
square
#D152BC #D1A652 #52D167 #527DD1
split-complementary
#D152BC #7DD152 #52D1A6
monochromatic
#852375 #B6309F #D152BC #DE82CF #EBB3E1

Accessibility & contrast

On white

3.72
#D152BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#D152BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152BC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152BC#FFFFFF#000000##000000
##D152BC1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#798BB9
Tritanopia (blue-blind)
#DA5A80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d152bc;
/* rgb */ color: rgb(209, 82, 188);
/* oklch */ color: oklch(64.1% 0.200 334.7);
Tailwind
colors: {
  custom: {
    50: '#e28ad0',
    500: '#d152bc',
    950: '#000000',
  },
}
SCSS
$custom: #d152bc;
$custom-light: #e28ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#d152bc",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 309.921,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64066,
    "c": 0.1998,
    "h": 334.7
  },
  "luminance": 0.23221
}

Semantic roles & 50–950 ramp

primary
#D152BC
secondary
#A6D9AE
accent
#E16047
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D152BC

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

Preview Lab → · Contrast checker → · Palette generator →

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