#D451D5#D451D5

#D451D5 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.6% C 0.223 H 327.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D451D5
RGBrgb(212, 81, 213)
HSLhsl(300, 61%, 58%)
HSVhsv(300, 62%, 84%)
CMYKcmyk(0.5%, 62%, 0%, 16.5%)
CIE-LABlab(56.77, 67.48, -43.35)
CIE-LCHlch(56.77, 80.21, 327.28°)
OKLaboklab(65.61% 0.1876 -0.1198)
OKLCHoklch(65.61% 0.223 327.4)
XYZxyz(42.1034, 24.6887, 65.4857)
Luminance0.2469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451D5 #52D551
analogous
#9251D5 #D451D5 #D55194
triadic
#D451D5 #D5D451 #51D5D4
tetradic
#D451D5 #D59251 #52D551 #5194D5
square
#D451D5 #D59251 #52D551 #5194D5
split-complementary
#D451D5 #94D551 #51D592
monochromatic
#89218A #BA2DBC #D451D5 #E082E1 #ECB4ED

Accessibility & contrast

On white

3.54
#D451D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#D451D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451D5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451D5#FFFFFF#000000##000000
##D451D51.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#407DD9
Deuteranopia (green-blind)
#708ED1
Tritanopia (blue-blind)
#DA628C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d451d5;
/* rgb */ color: rgb(212, 81, 213);
/* oklch */ color: oklch(65.6% 0.223 327.4);
Tailwind
colors: {
  custom: {
    50: '#e48ae2',
    500: '#d451d5',
    950: '#000000',
  },
}
SCSS
$custom: #d451d5;
$custom-light: #e48ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#d451d5",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 299.545,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65607,
    "c": 0.22256,
    "h": 327.4
  },
  "luminance": 0.24686
}

Semantic roles & 50–950 ramp

primary
#D451D5
secondary
#A7DBA6
accent
#E44445
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D451D5

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

Preview Lab → · Contrast checker → · Palette generator →

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