#DC2D5A#DC2D5A

#DC2D5A is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 59.0% C 0.209 H 12.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#DC2D5A
RGBrgb(220, 45, 90)
HSLhsl(345, 71%, 52%)
HSVhsv(345, 80%, 86%)
CMYKcmyk(0%, 79.5%, 59.1%, 13.7%)
CIE-LABlab(49.30, 67.48, 18.28)
CIE-LCHlch(49.30, 69.91, 15.16°)
OKLaboklab(58.95% 0.2036 0.0452)
OKLCHoklch(58.95% 0.209 12.5)
XYZxyz(32.3024, 17.8354, 11.4126)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC2D5A #2DDCAF
analogous
#DC2DB2 #DC2D5A #DC572D
triadic
#DC2D5A #5ADC2D #2D5ADC
tetradic
#DC2D5A #B2DC2D #2DDCAF #572DDC
square
#DC2D5A #B2DC2D #2DDCAF #572DDC
split-complementary
#DC2D5A #2DDC57 #2DB2DC
monochromatic
#7A142F #AF1D43 #DC2D5A #E56183 #ED96AC

Accessibility & contrast

On white

4.60
#DC2D5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#DC2D5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #DC2D5A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC2D5A#FFFFFF#000000##FFFFFF
##DC2D5A1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5E5B
Deuteranopia (green-blind)
#8C8255
Tritanopia (blue-blind)
#F10041
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #dc2d5a;
/* rgb */ color: rgb(220, 45, 90);
/* oklch */ color: oklch(59.0% 0.209 12.5);
Tailwind
colors: {
  custom: {
    50: '#ef7888',
    500: '#dc2d5a',
    950: '#000000',
  },
}
SCSS
$custom: #dc2d5a;
$custom-light: #ef7888;
$custom-dark: #000000;
JSON
{
  "hex": "#dc2d5a",
  "rgb": {
    "r": 220,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 344.571,
    "s": 71.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58952,
    "c": 0.20853,
    "h": 12.5
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

primary
#DC2D5A
secondary
#8CD9C5
accent
#EEC03A
background
#FFF7F8
surface
#FFEEEF
border
#D7C9CA
text
#180A0B
muted
#867C7C

Preview Lab

Preview with #DC2D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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