#D451C4#D451C4

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

Color values

HEX#D451C4
RGBrgb(212, 81, 196)
HSLhsl(307, 60%, 57%)
HSVhsv(307, 62%, 83%)
CMYKcmyk(0%, 61.8%, 7.5%, 16.9%)
CIE-LABlab(55.96, 64.71, -34.94)
CIE-LCHlch(55.96, 73.54, 331.64°)
OKLaboklab(64.75% 0.186 -0.0955)
OKLCHoklch(64.75% 0.209 332.8)
XYZxyz(40.0577, 23.8705, 54.7115)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451C4 #51D461
analogous
#A251D4 #D451C4 #D45183
triadic
#D451C4 #C4D451 #51C4D4
tetradic
#D451C4 #D4A251 #51D461 #5183D4
square
#D451C4 #D4A251 #51D461 #5183D4
split-complementary
#D451C4 #83D451 #51D4A2
monochromatic
#89227C #BA2EA9 #D451C4 #E082D5 #ECB3E5

Accessibility & contrast

On white

3.64
#D451C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#D451C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451C4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451C4#FFFFFF#000000##000000
##D451C41.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7AC7
Deuteranopia (green-blind)
#788DC1
Tritanopia (blue-blind)
#DD5C83
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d451c4;
/* rgb */ color: rgb(212, 81, 196);
/* oklch */ color: oklch(64.8% 0.209 332.8);
Tailwind
colors: {
  custom: {
    50: '#e48ad6',
    500: '#d451c4',
    950: '#000000',
  },
}
SCSS
$custom: #d451c4;
$custom-light: #e48ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#d451c4",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 307.328,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64751,
    "c": 0.20913,
    "h": 332.8
  },
  "luminance": 0.23867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D451C4

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

Preview Lab → · Contrast checker → · Palette generator →

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