#D451CC#D451CC

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

Color values

HEX#D451CC
RGBrgb(212, 81, 204)
HSLhsl(304, 60%, 57%)
HSVhsv(304, 62%, 83%)
CMYKcmyk(0%, 61.8%, 3.8%, 16.9%)
CIE-LABlab(56.33, 65.99, -38.93)
CIE-LCHlch(56.33, 76.62, 329.47°)
OKLaboklab(65.15% 0.1869 -0.107)
OKLCHoklch(65.15% 0.215 330.2)
XYZxyz(40.9926, 24.2444, 59.6356)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451CC #51D459
analogous
#9A51D4 #D451CC #D4518B
triadic
#D451CC #CCD451 #51CCD4
tetradic
#D451CC #D49A51 #51D459 #518BD4
square
#D451CC #D49A51 #51D459 #518BD4
split-complementary
#D451CC #8BD451 #51D49A
monochromatic
#892283 #BA2EB1 #D451CC #E082DA #ECB3E9

Accessibility & contrast

On white

3.59
#D451CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D451CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451CC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451CC#FFFFFF#000000##000000
##D451CC1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD0
Deuteranopia (green-blind)
#748DC8
Tritanopia (blue-blind)
#DC5F87
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d451cc;
/* rgb */ color: rgb(212, 81, 204);
/* oklch */ color: oklch(65.1% 0.215 330.2);
Tailwind
colors: {
  custom: {
    50: '#e48adc',
    500: '#d451cc',
    950: '#000000',
  },
}
SCSS
$custom: #d451cc;
$custom-light: #e48adc;
$custom-dark: #000000;
JSON
{
  "hex": "#d451cc",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 303.664,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65145,
    "c": 0.21535,
    "h": 330.2
  },
  "luminance": 0.24242
}

Semantic roles & 50–950 ramp

primary
#D451CC
secondary
#A6DBA9
accent
#E44E44
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D451CC

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

Preview Lab → · Contrast checker → · Palette generator →

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