#D152B8#D152B8

#D152B8 is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.9% C 0.197 H 336.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#D152B8
RGBrgb(209, 82, 184)
HSLhsl(312, 58%, 57%)
HSVhsv(312, 61%, 82%)
CMYKcmyk(0%, 60.8%, 12%, 18%)
CIE-LABlab(55.13, 61.64, -29.36)
CIE-LCHlch(55.13, 68.28, 334.53°)
OKLaboklab(63.88% 0.18 -0.0797)
OKLCHoklch(63.88% 0.197 336.1)
XYZxyz(37.9639, 23.0536, 47.7884)
Luminance0.2305 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152B8 #52D16B
analogous
#AB52D1 #D152B8 #D15279
triadic
#D152B8 #B8D152 #52B8D1
tetradic
#D152B8 #D1AB52 #52D16B #5279D1
square
#D152B8 #D1AB52 #52D16B #5279D1
split-complementary
#D152B8 #79D152 #52D1AB
monochromatic
#852372 #B6309B #D152B8 #DE82CC #EBB3E0

Accessibility & contrast

On white

3.74
#D152B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#D152B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152B8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152B8#FFFFFF#000000##000000
##D152B81.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5478BB
Deuteranopia (green-blind)
#7B8BB5
Tritanopia (blue-blind)
#DB597E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d152b8;
/* rgb */ color: rgb(209, 82, 184);
/* oklch */ color: oklch(63.9% 0.197 336.1);
Tailwind
colors: {
  custom: {
    50: '#e28acd',
    500: '#d152b8',
    950: '#000000',
  },
}
SCSS
$custom: #d152b8;
$custom-light: #e28acd;
$custom-dark: #000000;
JSON
{
  "hex": "#d152b8",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 311.811,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63881,
    "c": 0.19684,
    "h": 336.1
  },
  "luminance": 0.23051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D152B8

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

Preview Lab → · Contrast checker → · Palette generator →

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