#D450C2#D450C2

#D450C2 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.209 H 333.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D450C2
RGBrgb(212, 80, 194)
HSLhsl(308, 61%, 57%)
HSVhsv(308, 62%, 83%)
CMYKcmyk(0%, 62.3%, 8.5%, 16.9%)
CIE-LABlab(55.72, 64.81, -34.16)
CIE-LCHlch(55.72, 73.26, 332.20°)
OKLaboklab(64.55% 0.187 -0.0933)
OKLCHoklch(64.55% 0.209 333.5)
XYZxyz(39.7578, 23.6325, 53.4960)
Luminance0.2363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D450C2 #50D462
analogous
#A450D4 #D450C2 #D45080
triadic
#D450C2 #C2D450 #50C2D4
tetradic
#D450C2 #D4A450 #50D462 #5080D4
square
#D450C2 #D4A450 #50D462 #5080D4
split-complementary
#D450C2 #80D450 #50D4A4
monochromatic
#88217A #B92EA6 #D450C2 #E081D3 #ECB2E4

Accessibility & contrast

On white

3.67
#D450C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D450C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D450C2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D450C2#FFFFFF#000000##000000
##D450C21.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#DD5A82
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d450c2;
/* rgb */ color: rgb(212, 80, 194);
/* oklch */ color: oklch(64.5% 0.209 333.5);
Tailwind
colors: {
  custom: {
    50: '#e489d5',
    500: '#d450c2',
    950: '#000000',
  },
}
SCSS
$custom: #d450c2;
$custom-light: #e489d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d450c2",
  "rgb": {
    "r": 212,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 308.182,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64546,
    "c": 0.20898,
    "h": 333.5
  },
  "luminance": 0.23629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D450C2

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

Preview Lab → · Contrast checker → · Palette generator →

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