#D051A2#D051A2

#D051A2 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.7% C 0.183 H 344.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#D051A2
RGBrgb(208, 81, 162)
HSLhsl(322, 57%, 57%)
HSVhsv(322, 61%, 82%)
CMYKcmyk(0%, 61.1%, 22.1%, 18.4%)
CIE-LABlab(53.93, 58.59, -18.41)
CIE-LCHlch(53.93, 61.42, 342.55°)
OKLaboklab(62.68% 0.1759 -0.0489)
OKLCHoklch(62.68% 0.183 344.5)
XYZxyz(35.4775, 21.9067, 36.5354)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051A2 #51D07F
analogous
#BE51D0 #D051A2 #D05163
triadic
#D051A2 #A2D051 #51A2D0
tetradic
#D051A2 #D0BE51 #51D07F #5163D0
square
#D051A2 #D0BE51 #51D07F #5163D0
split-complementary
#D051A2 #63D051 #51D0BE
monochromatic
#832360 #B33084 #D051A2 #DD81BC #EAB1D6

Accessibility & contrast

On white

3.90
#D051A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#D051A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051A2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051A2#FFFFFF#000000##000000
##D051A21.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D73A4
Deuteranopia (green-blind)
#81899F
Tritanopia (blue-blind)
#DD5072
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d051a2;
/* rgb */ color: rgb(208, 81, 162);
/* oklch */ color: oklch(62.7% 0.183 344.5);
Tailwind
colors: {
  custom: {
    50: '#e289bd',
    500: '#d051a2',
    950: '#000000',
  },
}
SCSS
$custom: #d051a2;
$custom-light: #e289bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d051a2",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 321.732,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62678,
    "c": 0.18257,
    "h": 344.5
  },
  "luminance": 0.21903
}

Semantic roles & 50–950 ramp

primary
#D051A2
secondary
#A4D8B7
accent
#E17F47
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D051A2

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

Preview Lab → · Contrast checker → · Palette generator →

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