#DC45B1#DC45B1

#DC45B1 is a light, highly saturated pink. Relative luminance 0.226; OKLCH L 63.8% C 0.216 H 341.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#DC45B1
RGBrgb(220, 69, 177)
HSLhsl(317, 68%, 57%)
HSVhsv(317, 69%, 86%)
CMYKcmyk(0%, 68.6%, 19.5%, 13.7%)
CIE-LABlab(54.71, 68.59, -25.81)
CIE-LCHlch(54.71, 73.29, 339.38°)
OKLaboklab(63.81% 0.2051 -0.0694)
OKLCHoklch(63.81% 0.216 341.3)
XYZxyz(39.5803, 22.6500, 43.8738)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC45B1 #45DC70
analogous
#BC45DC #DC45B1 #DC4566
triadic
#DC45B1 #B1DC45 #45B1DC
tetradic
#DC45B1 #DCBC45 #45DC70 #4566DC
square
#DC45B1 #DCBC45 #45DC70 #4566DC
split-complementary
#DC45B1 #66DC45 #45DCBC
monochromatic
#8C1A6C #C02493 #DC45B1 #E679C7 #EFACDC

Accessibility & contrast

On white

3.80
#DC45B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#DC45B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC45B1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC45B1#FFFFFF#000000##000000
##DC45B11.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5173B4
Deuteranopia (green-blind)
#7F8CAD
Tritanopia (blue-blind)
#E94875
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dc45b1;
/* rgb */ color: rgb(220, 69, 177);
/* oklch */ color: oklch(63.8% 0.216 341.3);
Tailwind
colors: {
  custom: {
    50: '#eb84c8',
    500: '#dc45b1',
    950: '#000000',
  },
}
SCSS
$custom: #dc45b1;
$custom-light: #eb84c8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc45b1",
  "rgb": {
    "r": 220,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 317.086,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63813,
    "c": 0.21646,
    "h": 341.3
  },
  "luminance": 0.22646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC45B1

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

Preview Lab → · Contrast checker → · Palette generator →

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