#D152A7#D152A7

#D152A7 is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.1% C 0.185 H 342.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#D152A7
RGBrgb(209, 82, 167)
HSLhsl(320, 58%, 57%)
HSVhsv(320, 61%, 82%)
CMYKcmyk(0%, 60.8%, 20.1%, 18%)
CIE-LABlab(54.43, 59.14, -20.56)
CIE-LCHlch(54.43, 62.61, 340.83°)
OKLaboklab(63.14% 0.1767 -0.0549)
OKLCHoklch(63.14% 0.185 342.7)
XYZxyz(36.2878, 22.3832, 38.9610)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152A7 #52D17C
analogous
#BC52D1 #D152A7 #D15267
triadic
#D152A7 #A7D152 #52A7D1
tetradic
#D152A7 #D1BC52 #52D17C #5267D1
square
#D152A7 #D1BC52 #52D17C #5267D1
split-complementary
#D152A7 #67D152 #52D1BC
monochromatic
#852365 #B63089 #D152A7 #DE82C0 #EBB3D8

Accessibility & contrast

On white

3.83
#D152A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#D152A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152A7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152A7#FFFFFF#000000##000000
##D152A71.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C75AA
Deuteranopia (green-blind)
#818AA4
Tritanopia (blue-blind)
#DD5375
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d152a7;
/* rgb */ color: rgb(209, 82, 167);
/* oklch */ color: oklch(63.1% 0.185 342.7);
Tailwind
colors: {
  custom: {
    50: '#e28ac1',
    500: '#d152a7',
    950: '#000000',
  },
}
SCSS
$custom: #d152a7;
$custom-light: #e28ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#d152a7",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 319.843,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63142,
    "c": 0.18507,
    "h": 342.7
  },
  "luminance": 0.2238
}

Semantic roles & 50–950 ramp

primary
#D152A7
secondary
#A6D9B7
accent
#E17A47
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D152A7

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

Preview Lab → · Contrast checker → · Palette generator →

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