#D152A2#D152A2

#D152A2 is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.9% C 0.182 H 344.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D152A2
RGBrgb(209, 82, 162)
HSLhsl(322, 58%, 57%)
HSVhsv(322, 61%, 82%)
CMYKcmyk(0%, 60.8%, 22.5%, 18%)
CIE-LABlab(54.24, 58.45, -17.92)
CIE-LCHlch(54.24, 61.13, 342.95°)
OKLaboklab(62.94% 0.1756 -0.0476)
OKLCHoklch(62.94% 0.182 344.8)
XYZxyz(35.8345, 22.2019, 36.5736)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152A2 #52D181
analogous
#C152D1 #D152A2 #D15262
triadic
#D152A2 #A2D152 #52A2D1
tetradic
#D152A2 #D1C152 #52D181 #5262D1
square
#D152A2 #D1C152 #52D181 #5262D1
split-complementary
#D152A2 #62D152 #52D1C1
monochromatic
#852361 #B63084 #D152A2 #DE82BC #EBB3D6

Accessibility & contrast

On white

3.86
#D152A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D152A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152A2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152A2#FFFFFF#000000##000000
##D152A21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#828A9F
Tritanopia (blue-blind)
#DE5173
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d152a2;
/* rgb */ color: rgb(209, 82, 162);
/* oklch */ color: oklch(62.9% 0.182 344.8);
Tailwind
colors: {
  custom: {
    50: '#e289bd',
    500: '#d152a2',
    950: '#000000',
  },
}
SCSS
$custom: #d152a2;
$custom-light: #e289bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d152a2",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 322.205,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62938,
    "c": 0.18192,
    "h": 344.8
  },
  "luminance": 0.22199
}

Semantic roles & 50–950 ramp

primary
#D152A2
secondary
#A6D9B9
accent
#E18047
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D152A2

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

Preview Lab → · Contrast checker → · Palette generator →

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