#DC2DB2#DC2DB2

#DC2DB2 is a light, highly saturated pink. Relative luminance 0.203; OKLCH L 62.0% C 0.242 H 340.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#DC2DB2
RGBrgb(220, 45, 178)
HSLhsl(314, 71%, 52%)
HSVhsv(314, 80%, 86%)
CMYKcmyk(0%, 79.5%, 19.1%, 13.7%)
CIE-LABlab(52.19, 76.01, -30.30)
CIE-LCHlch(52.19, 81.83, 338.26°)
OKLaboklab(62% 0.2274 -0.0819)
OKLCHoklch(62% 0.242 340.2)
XYZxyz(38.4907, 20.3107, 44.0041)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC2DB2 #2DDC57
analogous
#AF2DDC #DC2DB2 #DC2D5B
triadic
#DC2DB2 #B2DC2D #2DB2DC
tetradic
#DC2DB2 #DCAF2D #2DDC57 #2D5BDC
square
#DC2DB2 #DCAF2D #2DDC57 #2D5BDC
split-complementary
#DC2DB2 #5BDC2D #2DDCAF
monochromatic
#7A1462 #AF1D8C #DC2DB2 #E561C5 #ED96D8

Accessibility & contrast

On white

4.15
#DC2DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#DC2DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC2DB2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC2DB2#FFFFFF#000000##000000
##DC2DB21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#7786AE
Tritanopia (blue-blind)
#E9346E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #dc2db2;
/* rgb */ color: rgb(220, 45, 178);
/* oklch */ color: oklch(62.0% 0.242 340.2);
Tailwind
colors: {
  custom: {
    50: '#ec7ac9',
    500: '#dc2db2',
    950: '#000000',
  },
}
SCSS
$custom: #dc2db2;
$custom-light: #ec7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc2db2",
  "rgb": {
    "r": 220,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 314.4,
    "s": 71.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62,
    "c": 0.24166,
    "h": 340.2
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#DC2DB2
secondary
#8CD99E
accent
#EE653A
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #DC2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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