#D451C2#D451C2

#D451C2 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.208 H 333.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#D451C2
RGBrgb(212, 81, 194)
HSLhsl(308, 60%, 57%)
HSVhsv(308, 62%, 83%)
CMYKcmyk(0%, 61.8%, 8.5%, 16.9%)
CIE-LABlab(55.87, 64.40, -33.93)
CIE-LCHlch(55.87, 72.79, 332.21°)
OKLaboklab(64.66% 0.1858 -0.0926)
OKLCHoklch(64.66% 0.208 333.5)
XYZxyz(39.8316, 23.7800, 53.5206)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451C2 #51D463
analogous
#A451D4 #D451C2 #D45181
triadic
#D451C2 #C2D451 #51C2D4
tetradic
#D451C2 #D4A451 #51D463 #5181D4
square
#D451C2 #D4A451 #51D463 #5181D4
split-complementary
#D451C2 #81D451 #51D4A4
monochromatic
#89227B #BA2EA7 #D451C2 #E082D3 #ECB3E4

Accessibility & contrast

On white

3.65
#D451C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#D451C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451C2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451C2#FFFFFF#000000##000000
##D451C21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7AC5
Deuteranopia (green-blind)
#798DBF
Tritanopia (blue-blind)
#DD5B82
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d451c2;
/* rgb */ color: rgb(212, 81, 194);
/* oklch */ color: oklch(64.7% 0.208 333.5);
Tailwind
colors: {
  custom: {
    50: '#e48ad5',
    500: '#d451c2',
    950: '#000000',
  },
}
SCSS
$custom: #d451c2;
$custom-light: #e48ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#d451c2",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 308.244,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64655,
    "c": 0.20761,
    "h": 333.5
  },
  "luminance": 0.23777
}

Semantic roles & 50–950 ramp

primary
#D451C2
secondary
#A6DBAD
accent
#E45A44
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D451C2

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

Preview Lab → · Contrast checker → · Palette generator →

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