#DC45C2#DC45C2

#DC45C2 is a light, highly saturated pink. Relative luminance 0.234; OKLCH L 64.6% C 0.228 H 335.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#DC45C2
RGBrgb(220, 69, 194)
HSLhsl(310, 68%, 57%)
HSVhsv(310, 69%, 86%)
CMYKcmyk(0%, 68.6%, 11.8%, 13.7%)
CIE-LABlab(55.45, 70.98, -34.49)
CIE-LCHlch(55.45, 78.91, 334.08°)
OKLaboklab(64.59% 0.2074 -0.094)
OKLCHoklch(64.59% 0.228 335.6)
XYZxyz(41.3814, 23.3705, 53.3600)
Luminance0.2337 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC45C2 #45DC5F
analogous
#AB45DC #DC45C2 #DC4577
triadic
#DC45C2 #C2DC45 #45C2DC
tetradic
#DC45C2 #DCAB45 #45DC5F #4577DC
square
#DC45C2 #DCAB45 #45DC5F #4577DC
split-complementary
#DC45C2 #77DC45 #45DCAB
monochromatic
#8C1A79 #C024A5 #DC45C2 #E679D3 #EFACE4

Accessibility & contrast

On white

3.70
#DC45C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#DC45C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC45C2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC45C2#FFFFFF#000000##000000
##DC45C21.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C6
Deuteranopia (green-blind)
#798DBE
Tritanopia (blue-blind)
#E74F7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #dc45c2;
/* rgb */ color: rgb(220, 69, 194);
/* oklch */ color: oklch(64.6% 0.228 335.6);
Tailwind
colors: {
  custom: {
    50: '#eb85d5',
    500: '#dc45c2',
    950: '#000000',
  },
}
SCSS
$custom: #dc45c2;
$custom-light: #eb85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc45c2",
  "rgb": {
    "r": 220,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 310.331,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64594,
    "c": 0.22773,
    "h": 335.6
  },
  "luminance": 0.23367
}

Semantic roles & 50–950 ramp

primary
#DC45C2
secondary
#A0DDAA
accent
#EB5B3D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DC45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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