#D451C8#D451C8

#D451C8 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 64.9% C 0.212 H 331.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#D451C8
RGBrgb(212, 81, 200)
HSLhsl(305, 60%, 57%)
HSVhsv(305, 62%, 83%)
CMYKcmyk(0%, 61.8%, 5.7%, 16.9%)
CIE-LABlab(56.14, 65.35, -36.94)
CIE-LCHlch(56.14, 75.06, 330.52°)
OKLaboklab(64.95% 0.1865 -0.1013)
OKLCHoklch(64.95% 0.212 331.5)
XYZxyz(40.5190, 24.0550, 57.1413)
Luminance0.2405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451C8 #51D45D
analogous
#9E51D4 #D451C8 #D45187
triadic
#D451C8 #C8D451 #51C8D4
tetradic
#D451C8 #D49E51 #51D45D #5187D4
square
#D451C8 #D49E51 #51D45D #5187D4
split-complementary
#D451C8 #87D451 #51D49E
monochromatic
#89227F #BA2EAD #D451C8 #E082D8 #ECB3E7

Accessibility & contrast

On white

3.61
#D451C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#D451C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451C8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451C8#FFFFFF#000000##000000
##D451C81.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7BCC
Deuteranopia (green-blind)
#768DC5
Tritanopia (blue-blind)
#DC5D85
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d451c8;
/* rgb */ color: rgb(212, 81, 200);
/* oklch */ color: oklch(64.9% 0.212 331.5);
Tailwind
colors: {
  custom: {
    50: '#e48ad9',
    500: '#d451c8',
    950: '#000000',
  },
}
SCSS
$custom: #d451c8;
$custom-light: #e48ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#d451c8",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 305.496,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64946,
    "c": 0.21222,
    "h": 331.5
  },
  "luminance": 0.24052
}

Semantic roles & 50–950 ramp

primary
#D451C8
secondary
#A6DBAB
accent
#E45344
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D451C8

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

Preview Lab → · Contrast checker → · Palette generator →

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