#D451C6#D451C6

#D451C6 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.8% C 0.211 H 332.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D451C6
RGBrgb(212, 81, 198)
HSLhsl(306, 60%, 57%)
HSVhsv(306, 62%, 83%)
CMYKcmyk(0%, 61.8%, 6.6%, 16.9%)
CIE-LABlab(56.05, 65.03, -35.94)
CIE-LCHlch(56.05, 74.30, 331.07°)
OKLaboklab(64.85% 0.1863 -0.0984)
OKLCHoklch(64.85% 0.211 332.2)
XYZxyz(40.2868, 23.9621, 55.9184)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451C6 #51D45F
analogous
#A051D4 #D451C6 #D45185
triadic
#D451C6 #C6D451 #51C6D4
tetradic
#D451C6 #D4A051 #51D45F #5185D4
square
#D451C6 #D4A051 #51D45F #5185D4
split-complementary
#D451C6 #85D451 #51D4A0
monochromatic
#89227E #BA2EAB #D451C6 #E082D6 #ECB3E6

Accessibility & contrast

On white

3.63
#D451C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#D451C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451C6
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451C6#FFFFFF#000000##000000
##D451C61.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ACA
Deuteranopia (green-blind)
#778DC3
Tritanopia (blue-blind)
#DC5D84
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d451c6;
/* rgb */ color: rgb(212, 81, 198);
/* oklch */ color: oklch(64.8% 0.211 332.2);
Tailwind
colors: {
  custom: {
    50: '#e48ad7',
    500: '#d451c6',
    950: '#000000',
  },
}
SCSS
$custom: #d451c6;
$custom-light: #e48ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#d451c6",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 198
  },
  "hsl": {
    "h": 306.412,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64848,
    "c": 0.21067,
    "h": 332.2
  },
  "luminance": 0.23959
}

Semantic roles & 50–950 ramp

primary
#D451C6
secondary
#A6DBAC
accent
#E45544
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D451C6

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

Preview Lab → · Contrast checker → · Palette generator →

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