#DC2DB1#DC2DB1

#DC2DB1 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 62.0% C 0.241 H 340.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#DC2DB1
RGBrgb(220, 45, 177)
HSLhsl(315, 71%, 52%)
HSVhsv(315, 80%, 86%)
CMYKcmyk(0%, 79.5%, 19.5%, 13.7%)
CIE-LABlab(52.14, 75.89, -29.79)
CIE-LCHlch(52.14, 81.52, 338.57°)
OKLaboklab(61.95% 0.2272 -0.0804)
OKLCHoklch(61.95% 0.241 340.5)
XYZxyz(38.3906, 20.2707, 43.4773)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC2DB1 #2DDC58
analogous
#B02DDC #DC2DB1 #DC2D5A
triadic
#DC2DB1 #B1DC2D #2DB1DC
tetradic
#DC2DB1 #DCB02D #2DDC58 #2D5ADC
square
#DC2DB1 #DCB02D #2DDC58 #2D5ADC
split-complementary
#DC2DB1 #5ADC2D #2DDCB0
monochromatic
#7A1461 #AF1D8B #DC2DB1 #E561C4 #ED96D8

Accessibility & contrast

On white

4.16
#DC2DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#DC2DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC2DB1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC2DB1#FFFFFF#000000##000000
##DC2DB11.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB4
Deuteranopia (green-blind)
#7786AD
Tritanopia (blue-blind)
#E9336E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #dc2db1;
/* rgb */ color: rgb(220, 45, 177);
/* oklch */ color: oklch(62.0% 0.241 340.5);
Tailwind
colors: {
  custom: {
    50: '#ec7ac8',
    500: '#dc2db1',
    950: '#000000',
  },
}
SCSS
$custom: #dc2db1;
$custom-light: #ec7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc2db1",
  "rgb": {
    "r": 220,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 314.743,
    "s": 71.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.24106,
    "h": 340.5
  },
  "luminance": 0.20267
}

Semantic roles & 50–950 ramp

primary
#DC2DB1
secondary
#8CD99F
accent
#EE663A
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #DC2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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