#D451D2#D451D2

#D451D2 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.5% C 0.220 H 328.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#D451D2
RGBrgb(212, 81, 210)
HSLhsl(301, 60%, 57%)
HSVhsv(301, 62%, 83%)
CMYKcmyk(0%, 61.8%, 0.9%, 16.9%)
CIE-LABlab(56.62, 66.98, -41.88)
CIE-LCHlch(56.62, 79.00, 327.98°)
OKLaboklab(65.45% 0.1874 -0.1155)
OKLCHoklch(65.45% 0.22 328.3)
XYZxyz(41.7262, 24.5378, 63.4988)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451D2 #51D453
analogous
#9451D4 #D451D2 #D45191
triadic
#D451D2 #D2D451 #51D2D4
tetradic
#D451D2 #D49451 #51D453 #5191D4
square
#D451D2 #D49451 #51D453 #5191D4
split-complementary
#D451D2 #91D451 #51D494
monochromatic
#892287 #BA2EB8 #D451D2 #E082DF #ECB3EB

Accessibility & contrast

On white

3.56
#D451D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#D451D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451D2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451D2#FFFFFF#000000##000000
##D451D21.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#427DD6
Deuteranopia (green-blind)
#718ECE
Tritanopia (blue-blind)
#DB618A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d451d2;
/* rgb */ color: rgb(212, 81, 210);
/* oklch */ color: oklch(65.5% 0.220 328.3);
Tailwind
colors: {
  custom: {
    50: '#e48ae0',
    500: '#d451d2',
    950: '#000000',
  },
}
SCSS
$custom: #d451d2;
$custom-light: #e48ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#d451d2",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 300.916,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65451,
    "c": 0.22014,
    "h": 328.3
  },
  "luminance": 0.24535
}

Semantic roles & 50–950 ramp

primary
#D451D2
secondary
#A6DBA7
accent
#E44744
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D451D2

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

Preview Lab → · Contrast checker → · Palette generator →

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