#D051CB#D051CB

#D051CB is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.212 H 329.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#D051CB
RGBrgb(208, 81, 203)
HSLhsl(302, 57%, 57%)
HSVhsv(302, 61%, 82%)
CMYKcmyk(0%, 61.1%, 2.4%, 18.4%)
CIE-LABlab(55.69, 64.83, -39.40)
CIE-LCHlch(55.69, 75.87, 328.71°)
OKLaboklab(64.55% 0.1825 -0.1084)
OKLCHoklch(64.55% 0.212 329.3)
XYZxyz(39.7340, 23.6093, 58.9526)
Luminance0.2361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051CB #51D056
analogous
#9651D0 #D051CB #D0518C
triadic
#D051CB #CBD051 #51CBD0
tetradic
#D051CB #D09651 #51D056 #518CD0
square
#D051CB #D09651 #51D056 #518CD0
split-complementary
#D051CB #8CD051 #51D096
monochromatic
#83237F #B330AE #D051CB #DD81D9 #EAB1E8

Accessibility & contrast

On white

3.67
#D051CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#D051CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051CB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051CB#FFFFFF#000000##000000
##D051CB1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACF
Deuteranopia (green-blind)
#718CC8
Tritanopia (blue-blind)
#D75F87
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d051cb;
/* rgb */ color: rgb(208, 81, 203);
/* oklch */ color: oklch(64.5% 0.212 329.3);
Tailwind
colors: {
  custom: {
    50: '#e28adb',
    500: '#d051cb',
    950: '#000000',
  },
}
SCSS
$custom: #d051cb;
$custom-light: #e28adb;
$custom-dark: #000000;
JSON
{
  "hex": "#d051cb",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 302.362,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64548,
    "c": 0.2123,
    "h": 329.3
  },
  "luminance": 0.23607
}

Semantic roles & 50–950 ramp

primary
#D051CB
secondary
#A4D8A6
accent
#E14D47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D051CB

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

Preview Lab → · Contrast checker → · Palette generator →

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