#D152A6#D152A6

#D152A6 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.1% C 0.184 H 343.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#D152A6
RGBrgb(209, 82, 166)
HSLhsl(320, 58%, 57%)
HSVhsv(320, 61%, 82%)
CMYKcmyk(0%, 60.8%, 20.6%, 18%)
CIE-LABlab(54.39, 59.00, -20.03)
CIE-LCHlch(54.39, 62.31, 341.25°)
OKLaboklab(63.1% 0.1765 -0.0534)
OKLCHoklch(63.1% 0.184 343.2)
XYZxyz(36.1957, 22.3464, 38.4760)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152A6 #52D17D
analogous
#BD52D1 #D152A6 #D15267
triadic
#D152A6 #A6D152 #52A6D1
tetradic
#D152A6 #D1BD52 #52D17D #5267D1
square
#D152A6 #D1BD52 #52D17D #5267D1
split-complementary
#D152A6 #67D152 #52D1BD
monochromatic
#852364 #B63088 #D152A6 #DE82BF #EBB3D8

Accessibility & contrast

On white

3.84
#D152A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#D152A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152A6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152A6#FFFFFF#000000##000000
##D152A61.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C75A9
Deuteranopia (green-blind)
#818AA3
Tritanopia (blue-blind)
#DD5275
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d152a6;
/* rgb */ color: rgb(209, 82, 166);
/* oklch */ color: oklch(63.1% 0.184 343.2);
Tailwind
colors: {
  custom: {
    50: '#e289c0',
    500: '#d152a6',
    950: '#000000',
  },
}
SCSS
$custom: #d152a6;
$custom-light: #e289c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d152a6",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 166
  },
  "hsl": {
    "h": 320.315,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.631,
    "c": 0.18442,
    "h": 343.2
  },
  "luminance": 0.22343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D152A6

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

Preview Lab → · Contrast checker → · Palette generator →

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