#D152A9#D152A9

#D152A9 is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.2% C 0.186 H 341.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#D152A9
RGBrgb(209, 82, 169)
HSLhsl(319, 58%, 57%)
HSVhsv(319, 61%, 82%)
CMYKcmyk(0%, 60.8%, 19.1%, 18%)
CIE-LABlab(54.51, 59.43, -21.60)
CIE-LCHlch(54.51, 63.23, 340.02°)
OKLaboklab(63.22% 0.1772 -0.0578)
OKLCHoklch(63.22% 0.186 341.9)
XYZxyz(36.4741, 22.4577, 39.9422)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152A9 #52D17A
analogous
#BA52D1 #D152A9 #D15269
triadic
#D152A9 #A9D152 #52A9D1
tetradic
#D152A9 #D1BA52 #52D17A #5269D1
square
#D152A9 #D1BA52 #52D17A #5269D1
split-complementary
#D152A9 #69D152 #52D1BA
monochromatic
#852366 #B6308C #D152A9 #DE82C1 #EBB3D9

Accessibility & contrast

On white

3.82
#D152A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#D152A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152A9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152A9#FFFFFF#000000##000000
##D152A91.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B75AC
Deuteranopia (green-blind)
#808AA6
Tritanopia (blue-blind)
#DD5376
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d152a9;
/* rgb */ color: rgb(209, 82, 169);
/* oklch */ color: oklch(63.2% 0.186 341.9);
Tailwind
colors: {
  custom: {
    50: '#e28ac2',
    500: '#d152a9',
    950: '#000000',
  },
}
SCSS
$custom: #d152a9;
$custom-light: #e28ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#d152a9",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 169
  },
  "hsl": {
    "h": 318.898,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63225,
    "c": 0.18636,
    "h": 341.9
  },
  "luminance": 0.22454
}

Semantic roles & 50–950 ramp

primary
#D152A9
secondary
#A6D9B6
accent
#E17747
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D152A9

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

Preview Lab → · Contrast checker → · Palette generator →

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