#D151A2#D151A2

#D151A2 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.8% C 0.183 H 344.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#D151A2
RGBrgb(209, 81, 162)
HSLhsl(322, 58%, 57%)
HSVhsv(322, 61%, 82%)
CMYKcmyk(0%, 61.2%, 22.5%, 18%)
CIE-LABlab(54.08, 58.88, -18.16)
CIE-LCHlch(54.08, 61.62, 342.86°)
OKLaboklab(62.82% 0.1769 -0.0482)
OKLCHoklch(62.82% 0.183 344.7)
XYZxyz(35.7597, 22.0522, 36.5486)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151A2 #51D180
analogous
#C051D1 #D151A2 #D15162
triadic
#D151A2 #A2D151 #51A2D1
tetradic
#D151A2 #D1C051 #51D180 #5162D1
square
#D151A2 #D1C051 #51D180 #5162D1
split-complementary
#D151A2 #62D151 #51D1C0
monochromatic
#852361 #B53084 #D151A2 #DE81BC #EBB2D6

Accessibility & contrast

On white

3.88
#D151A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#D151A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151A2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151A2#FFFFFF#000000##000000
##D151A21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A4
Deuteranopia (green-blind)
#82899F
Tritanopia (blue-blind)
#DE5072
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d151a2;
/* rgb */ color: rgb(209, 81, 162);
/* oklch */ color: oklch(62.8% 0.183 344.7);
Tailwind
colors: {
  custom: {
    50: '#e289bd',
    500: '#d151a2',
    950: '#000000',
  },
}
SCSS
$custom: #d151a2;
$custom-light: #e289bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d151a2",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 322.031,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62822,
    "c": 0.18336,
    "h": 344.7
  },
  "luminance": 0.22049
}

Semantic roles & 50–950 ramp

primary
#D151A2
secondary
#A5D9B8
accent
#E17F46
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D151A2

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

Preview Lab → · Contrast checker → · Palette generator →

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