#D152B6#D152B6

#D152B6 is a light, vivid pink. Relative luminance 0.230; OKLCH L 63.8% C 0.195 H 336.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#D152B6
RGBrgb(209, 82, 182)
HSLhsl(313, 58%, 57%)
HSVhsv(313, 61%, 82%)
CMYKcmyk(0%, 60.8%, 12.9%, 18%)
CIE-LABlab(55.04, 61.34, -28.33)
CIE-LCHlch(55.04, 67.56, 335.21°)
OKLaboklab(63.79% 0.1797 -0.0768)
OKLCHoklch(63.79% 0.195 336.9)
XYZxyz(37.7558, 22.9704, 46.6921)
Luminance0.2297 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152B6 #52D16D
analogous
#AD52D1 #D152B6 #D15277
triadic
#D152B6 #B6D152 #52B6D1
tetradic
#D152B6 #D1AD52 #52D16D #5277D1
square
#D152B6 #D1AD52 #52D16D #5277D1
split-complementary
#D152B6 #77D152 #52D1AD
monochromatic
#852370 #B63099 #D152B6 #DE82CA #EBB3DF

Accessibility & contrast

On white

3.75
#D152B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#D152B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152B6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152B6#FFFFFF#000000##000000
##D152B61.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5577B9
Deuteranopia (green-blind)
#7C8BB3
Tritanopia (blue-blind)
#DB587D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d152b6;
/* rgb */ color: rgb(209, 82, 182);
/* oklch */ color: oklch(63.8% 0.195 336.9);
Tailwind
colors: {
  custom: {
    50: '#e28acc',
    500: '#d152b6',
    950: '#000000',
  },
}
SCSS
$custom: #d152b6;
$custom-light: #e28acc;
$custom-dark: #000000;
JSON
{
  "hex": "#d152b6",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 182
  },
  "hsl": {
    "h": 312.756,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6379,
    "c": 0.19537,
    "h": 336.9
  },
  "luminance": 0.22967
}

Semantic roles & 50–950 ramp

primary
#D152B6
secondary
#A6D9B1
accent
#E16747
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D152B6

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

Preview Lab → · Contrast checker → · Palette generator →

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