#D051A4#D051A4

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

Color values

HEX#D051A4
RGBrgb(208, 81, 164)
HSLhsl(321, 57%, 57%)
HSVhsv(321, 61%, 82%)
CMYKcmyk(0%, 61.1%, 21.2%, 18.4%)
CIE-LABlab(54.00, 58.87, -19.47)
CIE-LCHlch(54.00, 62.00, 341.70°)
OKLaboklab(62.76% 0.1764 -0.0519)
OKLCHoklch(62.76% 0.184 343.6)
XYZxyz(35.6567, 21.9784, 37.4791)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051A4 #51D07D
analogous
#BC51D0 #D051A4 #D05165
triadic
#D051A4 #A4D051 #51A4D0
tetradic
#D051A4 #D0BC51 #51D07D #5165D0
square
#D051A4 #D0BC51 #51D07D #5165D0
split-complementary
#D051A4 #65D051 #51D0BC
monochromatic
#832362 #B33086 #D051A4 #DD81BD #EAB1D6

Accessibility & contrast

On white

3.89
#D051A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D051A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051A4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051A4#FFFFFF#000000##000000
##D051A41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C74A7
Deuteranopia (green-blind)
#8189A1
Tritanopia (blue-blind)
#DC5173
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d051a4;
/* rgb */ color: rgb(208, 81, 164);
/* oklch */ color: oklch(62.8% 0.184 343.6);
Tailwind
colors: {
  custom: {
    50: '#e289bf',
    500: '#d051a4',
    950: '#000000',
  },
}
SCSS
$custom: #d051a4;
$custom-light: #e289bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d051a4",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 320.787,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62759,
    "c": 0.18382,
    "h": 343.6
  },
  "luminance": 0.21975
}

Semantic roles & 50–950 ramp

primary
#D051A4
secondary
#A4D8B6
accent
#E17C47
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D051A4

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

Preview Lab → · Contrast checker → · Palette generator →

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