#D451CB#D451CB

#D451CB is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.1% C 0.215 H 330.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#D451CB
RGBrgb(212, 81, 203)
HSLhsl(304, 60%, 57%)
HSVhsv(304, 62%, 83%)
CMYKcmyk(0%, 61.8%, 4.2%, 16.9%)
CIE-LABlab(56.28, 65.83, -38.43)
CIE-LCHlch(56.28, 76.23, 329.73°)
OKLaboklab(65.1% 0.1868 -0.1056)
OKLCHoklch(65.1% 0.215 330.5)
XYZxyz(40.8731, 24.1966, 59.0060)
Luminance0.2419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451CB #51D45A
analogous
#9B51D4 #D451CB #D4518A
triadic
#D451CB #CBD451 #51CBD4
tetradic
#D451CB #D49B51 #51D45A #518AD4
square
#D451CB #D49B51 #51D45A #518AD4
split-complementary
#D451CB #8AD451 #51D49B
monochromatic
#892282 #BA2EB0 #D451CB #E082DA #ECB3E8

Accessibility & contrast

On white

3.60
#D451CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#D451CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451CB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451CB#FFFFFF#000000##000000
##D451CB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCF
Deuteranopia (green-blind)
#758DC8
Tritanopia (blue-blind)
#DC5E87
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d451cb;
/* rgb */ color: rgb(212, 81, 203);
/* oklch */ color: oklch(65.1% 0.215 330.5);
Tailwind
colors: {
  custom: {
    50: '#e48adb',
    500: '#d451cb',
    950: '#000000',
  },
}
SCSS
$custom: #d451cb;
$custom-light: #e48adb;
$custom-dark: #000000;
JSON
{
  "hex": "#d451cb",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 304.122,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65095,
    "c": 0.21456,
    "h": 330.5
  },
  "luminance": 0.24194
}

Semantic roles & 50–950 ramp

primary
#D451CB
secondary
#A6DBAA
accent
#E44F44
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D451CB

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

Preview Lab → · Contrast checker → · Palette generator →

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