#D451C5#D451C5

#D451C5 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.210 H 332.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#D451C5
RGBrgb(212, 81, 197)
HSLhsl(307, 60%, 57%)
HSVhsv(307, 62%, 83%)
CMYKcmyk(0%, 61.8%, 7.1%, 16.9%)
CIE-LABlab(56.00, 64.87, -35.44)
CIE-LCHlch(56.00, 73.92, 331.35°)
OKLaboklab(64.8% 0.1862 -0.097)
OKLCHoklch(64.8% 0.21 332.5)
XYZxyz(40.1719, 23.9161, 55.3130)
Luminance0.2391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451C5 #51D460
analogous
#A151D4 #D451C5 #D45184
triadic
#D451C5 #C5D451 #51C5D4
tetradic
#D451C5 #D4A151 #51D460 #5184D4
square
#D451C5 #D4A151 #51D460 #5184D4
split-complementary
#D451C5 #84D451 #51D4A1
monochromatic
#89227D #BA2EAA #D451C5 #E082D5 #ECB3E6

Accessibility & contrast

On white

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

On black

5.78
#D451C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451C5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451C5#FFFFFF#000000##000000
##D451C51.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7AC9
Deuteranopia (green-blind)
#778DC2
Tritanopia (blue-blind)
#DD5C84
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d451c5;
/* rgb */ color: rgb(212, 81, 197);
/* oklch */ color: oklch(64.8% 0.210 332.5);
Tailwind
colors: {
  custom: {
    50: '#e48ad7',
    500: '#d451c5',
    950: '#000000',
  },
}
SCSS
$custom: #d451c5;
$custom-light: #e48ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#d451c5",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 197
  },
  "hsl": {
    "h": 306.87,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64799,
    "c": 0.2099,
    "h": 332.5
  },
  "luminance": 0.23913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D451C5

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

Preview Lab → · Contrast checker → · Palette generator →

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