#D051BC#D051BC

#D051BC is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.8% C 0.201 H 334.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#D051BC
RGBrgb(208, 81, 188)
HSLhsl(309, 57%, 57%)
HSVhsv(309, 61%, 82%)
CMYKcmyk(0%, 61.1%, 9.6%, 18.4%)
CIE-LABlab(55.00, 62.42, -31.88)
CIE-LCHlch(55.00, 70.09, 332.95°)
OKLaboklab(63.81% 0.1808 -0.0869)
OKLCHoklch(63.81% 0.201 334.3)
XYZxyz(38.0322, 22.9285, 49.9897)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051BC #51D065
analogous
#A551D0 #D051BC #D0517D
triadic
#D051BC #BCD051 #51BCD0
tetradic
#D051BC #D0A551 #51D065 #517DD0
square
#D051BC #D0A551 #51D065 #517DD0
split-complementary
#D051BC #7DD051 #51D0A5
monochromatic
#832374 #B3309F #D051BC #DD81CF #EAB1E1

Accessibility & contrast

On white

3.76
#D051BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#D051BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051BC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051BC#FFFFFF#000000##000000
##D051BC1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#788AB9
Tritanopia (blue-blind)
#D95A7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d051bc;
/* rgb */ color: rgb(208, 81, 188);
/* oklch */ color: oklch(63.8% 0.201 334.3);
Tailwind
colors: {
  custom: {
    50: '#e189d0',
    500: '#d051bc',
    950: '#000000',
  },
}
SCSS
$custom: #d051bc;
$custom-light: #e189d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d051bc",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 309.449,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63814,
    "c": 0.20057,
    "h": 334.3
  },
  "luminance": 0.22926
}

Semantic roles & 50–950 ramp

primary
#D051BC
secondary
#A4D8AD
accent
#E15F47
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D051BC

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

Preview Lab → · Contrast checker → · Palette generator →

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