#D152CB#D152CB

#D152CB is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.211 H 329.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#D152CB
RGBrgb(209, 82, 203)
HSLhsl(303, 58%, 57%)
HSVhsv(303, 61%, 82%)
CMYKcmyk(0%, 60.8%, 2.9%, 18%)
CIE-LABlab(55.99, 64.67, -38.92)
CIE-LCHlch(55.99, 75.48, 328.96°)
OKLaboklab(64.79% 0.1824 -0.107)
OKLCHoklch(64.79% 0.212 329.6)
XYZxyz(40.0909, 23.9044, 58.9908)
Luminance0.2390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152CB #52D158
analogous
#9852D1 #D152CB #D1528B
triadic
#D152CB #CBD152 #52CBD1
tetradic
#D152CB #D19852 #52D158 #528BD1
square
#D152CB #D19852 #52D158 #528BD1
split-complementary
#D152CB #8BD152 #52D198
monochromatic
#852381 #B630AF #D152CB #DE82DA #EBB3E8

Accessibility & contrast

On white

3.63
#D152CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#D152CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152CB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152CB#FFFFFF#000000##000000
##D152CB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#738CC8
Tritanopia (blue-blind)
#D86087
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d152cb;
/* rgb */ color: rgb(209, 82, 203);
/* oklch */ color: oklch(64.8% 0.211 329.6);
Tailwind
colors: {
  custom: {
    50: '#e28adb',
    500: '#d152cb',
    950: '#000000',
  },
}
SCSS
$custom: #d152cb;
$custom-light: #e28adb;
$custom-dark: #000000;
JSON
{
  "hex": "#d152cb",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 302.835,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64794,
    "c": 0.2115,
    "h": 329.6
  },
  "luminance": 0.23902
}

Semantic roles & 50–950 ramp

primary
#D152CB
secondary
#A6D9A8
accent
#E14E47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D152CB

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

Preview Lab → · Contrast checker → · Palette generator →

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