#D152A1#D152A1

#D152A1 is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.9% C 0.181 H 345.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D152A1
RGBrgb(209, 82, 161)
HSLhsl(323, 58%, 57%)
HSVhsv(323, 61%, 82%)
CMYKcmyk(0%, 60.8%, 23%, 18%)
CIE-LABlab(54.20, 58.31, -17.39)
CIE-LCHlch(54.20, 60.85, 343.39°)
OKLaboklab(62.9% 0.1754 -0.0461)
OKLCHoklch(62.9% 0.181 345.3)
XYZxyz(35.7460, 22.1665, 36.1073)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152A1 #52D182
analogous
#C252D1 #D152A1 #D15262
triadic
#D152A1 #A1D152 #52A1D1
tetradic
#D152A1 #D1C252 #52D182 #5262D1
square
#D152A1 #D1C252 #52D182 #5262D1
split-complementary
#D152A1 #62D152 #52D1C2
monochromatic
#852360 #B63083 #D152A1 #DE82BB #EBB3D6

Accessibility & contrast

On white

3.87
#D152A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D152A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152A1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152A1#FFFFFF#000000##000000
##D152A11.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A3
Deuteranopia (green-blind)
#838A9E
Tritanopia (blue-blind)
#DE5072
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d152a1;
/* rgb */ color: rgb(209, 82, 161);
/* oklch */ color: oklch(62.9% 0.181 345.3);
Tailwind
colors: {
  custom: {
    50: '#e289bd',
    500: '#d152a1',
    950: '#000000',
  },
}
SCSS
$custom: #d152a1;
$custom-light: #e289bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d152a1",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 322.677,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62899,
    "c": 0.18131,
    "h": 345.3
  },
  "luminance": 0.22163
}

Semantic roles & 50–950 ramp

primary
#D152A1
secondary
#A6D9B9
accent
#E18147
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D152A1

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

Preview Lab → · Contrast checker → · Palette generator →

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