#D152B7#D152B7

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

Color values

HEX#D152B7
RGBrgb(209, 82, 183)
HSLhsl(312, 58%, 57%)
HSVhsv(312, 61%, 82%)
CMYKcmyk(0%, 60.8%, 12.4%, 18%)
CIE-LABlab(55.08, 61.49, -28.85)
CIE-LCHlch(55.08, 67.92, 334.87°)
OKLaboklab(63.83% 0.1798 -0.0782)
OKLCHoklch(63.83% 0.196 336.5)
XYZxyz(37.8595, 23.0119, 47.2383)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152B7 #52D16C
analogous
#AB52D1 #D152B7 #D15278
triadic
#D152B7 #B7D152 #52B7D1
tetradic
#D152B7 #D1AB52 #52D16C #5278D1
square
#D152B7 #D1AB52 #52D16C #5278D1
split-complementary
#D152B7 #78D152 #52D1AB
monochromatic
#852371 #B6309A #D152B7 #DE82CB #EBB3DF

Accessibility & contrast

On white

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

On black

5.60
#D152B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152B7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152B7#FFFFFF#000000##000000
##D152B71.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5478BA
Deuteranopia (green-blind)
#7B8BB4
Tritanopia (blue-blind)
#DB587D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d152b7;
/* rgb */ color: rgb(209, 82, 183);
/* oklch */ color: oklch(63.8% 0.196 336.5);
Tailwind
colors: {
  custom: {
    50: '#e28acd',
    500: '#d152b7',
    950: '#000000',
  },
}
SCSS
$custom: #d152b7;
$custom-light: #e28acd;
$custom-dark: #000000;
JSON
{
  "hex": "#d152b7",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 312.283,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63835,
    "c": 0.19611,
    "h": 336.5
  },
  "luminance": 0.23009
}

Semantic roles & 50–950 ramp

primary
#D152B7
secondary
#A6D9B0
accent
#E16647
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D152B7

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

Preview Lab → · Contrast checker → · Palette generator →

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