#D152B2#D152B2

#D152B2 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.6% C 0.193 H 338.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#D152B2
RGBrgb(209, 82, 178)
HSLhsl(315, 58%, 57%)
HSVhsv(315, 61%, 82%)
CMYKcmyk(0%, 60.8%, 14.8%, 18%)
CIE-LABlab(54.87, 60.74, -26.28)
CIE-LCHlch(54.87, 66.18, 336.60°)
OKLaboklab(63.61% 0.179 -0.0709)
OKLCHoklch(63.61% 0.193 338.4)
XYZxyz(37.3483, 22.8074, 44.5461)
Luminance0.2280 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152B2 #52D171
analogous
#B152D1 #D152B2 #D15272
triadic
#D152B2 #B2D152 #52B2D1
tetradic
#D152B2 #D1B152 #52D171 #5272D1
square
#D152B2 #D1B152 #52D171 #5272D1
split-complementary
#D152B2 #72D152 #52D1B1
monochromatic
#85236D #B63095 #D152B2 #DE82C8 #EBB3DD

Accessibility & contrast

On white

3.78
#D152B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#D152B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152B2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152B2#FFFFFF#000000##000000
##D152B21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#7D8BAF
Tritanopia (blue-blind)
#DC577B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d152b2;
/* rgb */ color: rgb(209, 82, 178);
/* oklch */ color: oklch(63.6% 0.193 338.4);
Tailwind
colors: {
  custom: {
    50: '#e28ac9',
    500: '#d152b2',
    950: '#000000',
  },
}
SCSS
$custom: #d152b2;
$custom-light: #e28ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#d152b2",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 314.646,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63612,
    "c": 0.19251,
    "h": 338.4
  },
  "luminance": 0.22804
}

Semantic roles & 50–950 ramp

primary
#D152B2
secondary
#A6D9B2
accent
#E16C47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D152B2

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

Preview Lab → · Contrast checker → · Palette generator →

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