#D152B4#D152B4

#D152B4 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.7% C 0.194 H 337.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#D152B4
RGBrgb(209, 82, 180)
HSLhsl(314, 58%, 57%)
HSVhsv(314, 61%, 82%)
CMYKcmyk(0%, 60.8%, 13.9%, 18%)
CIE-LABlab(54.96, 61.03, -27.31)
CIE-LCHlch(54.96, 66.86, 335.90°)
OKLaboklab(63.7% 0.1793 -0.0739)
OKLCHoklch(63.7% 0.194 337.6)
XYZxyz(37.5505, 22.8883, 45.6113)
Luminance0.2288 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152B4 #52D16F
analogous
#AF52D1 #D152B4 #D15275
triadic
#D152B4 #B4D152 #52B4D1
tetradic
#D152B4 #D1AF52 #52D16F #5275D1
square
#D152B4 #D1AF52 #52D16F #5275D1
split-complementary
#D152B4 #75D152 #52D1AF
monochromatic
#85236F #B63097 #D152B4 #DE82C9 #EBB3DE

Accessibility & contrast

On white

3.77
#D152B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#D152B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152B4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152B4#FFFFFF#000000##000000
##D152B41.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5677B7
Deuteranopia (green-blind)
#7C8BB1
Tritanopia (blue-blind)
#DC577C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d152b4;
/* rgb */ color: rgb(209, 82, 180);
/* oklch */ color: oklch(63.7% 0.194 337.6);
Tailwind
colors: {
  custom: {
    50: '#e28aca',
    500: '#d152b4',
    950: '#000000',
  },
}
SCSS
$custom: #d152b4;
$custom-light: #e28aca;
$custom-dark: #000000;
JSON
{
  "hex": "#d152b4",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 313.701,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.637,
    "c": 0.19394,
    "h": 337.6
  },
  "luminance": 0.22885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D152B4

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

Preview Lab → · Contrast checker → · Palette generator →

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