#DC45B2#DC45B2

#DC45B2 is a light, highly saturated pink. Relative luminance 0.227; OKLCH L 63.9% C 0.217 H 341.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#DC45B2
RGBrgb(220, 69, 178)
HSLhsl(317, 68%, 57%)
HSVhsv(317, 69%, 86%)
CMYKcmyk(0%, 68.6%, 19.1%, 13.7%)
CIE-LABlab(54.75, 68.73, -26.33)
CIE-LCHlch(54.75, 73.60, 339.04°)
OKLaboklab(63.86% 0.2052 -0.0708)
OKLCHoklch(63.86% 0.217 341)
XYZxyz(39.6803, 22.6901, 44.4007)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC45B2 #45DC6F
analogous
#BB45DC #DC45B2 #DC4567
triadic
#DC45B2 #B2DC45 #45B2DC
tetradic
#DC45B2 #DCBB45 #45DC6F #4567DC
square
#DC45B2 #DCBB45 #45DC6F #4567DC
split-complementary
#DC45B2 #67DC45 #45DCBB
monochromatic
#8C1A6D #C02494 #DC45B2 #E679C7 #EFACDD

Accessibility & contrast

On white

3.79
#DC45B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#DC45B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC45B2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC45B2#FFFFFF#000000##000000
##DC45B21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#7F8CAE
Tritanopia (blue-blind)
#E94876
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dc45b2;
/* rgb */ color: rgb(220, 69, 178);
/* oklch */ color: oklch(63.9% 0.217 341.0);
Tailwind
colors: {
  custom: {
    50: '#eb84c9',
    500: '#dc45b2',
    950: '#000000',
  },
}
SCSS
$custom: #dc45b2;
$custom-light: #eb84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc45b2",
  "rgb": {
    "r": 220,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 316.689,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63857,
    "c": 0.21709,
    "h": 341
  },
  "luminance": 0.22686
}

Semantic roles & 50–950 ramp

primary
#DC45B2
secondary
#A0DDB1
accent
#EB6D3D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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