#DC2DAF#DC2DAF

#DC2DAF is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.9% C 0.240 H 341.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#DC2DAF
RGBrgb(220, 45, 175)
HSLhsl(315, 71%, 52%)
HSVhsv(315, 80%, 86%)
CMYKcmyk(0%, 79.5%, 20.5%, 13.7%)
CIE-LABlab(52.05, 75.63, -28.76)
CIE-LCHlch(52.05, 80.91, 339.18°)
OKLaboklab(61.86% 0.227 -0.0775)
OKLCHoklch(61.86% 0.24 341.1)
XYZxyz(38.1927, 20.1916, 42.4351)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC2DAF #2DDC5A
analogous
#B22DDC #DC2DAF #DC2D57
triadic
#DC2DAF #AFDC2D #2DAFDC
tetradic
#DC2DAF #DCB22D #2DDC5A #2D57DC
square
#DC2DAF #DCB22D #2DDC5A #2D57DC
split-complementary
#DC2DAF #57DC2D #2DDCB2
monochromatic
#7A1460 #AF1D89 #DC2DAF #E561C3 #ED96D7

Accessibility & contrast

On white

4.17
#DC2DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#DC2DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC2DAF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC2DAF#FFFFFF#000000##000000
##DC2DAF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#7886AB
Tritanopia (blue-blind)
#EA326D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #dc2daf;
/* rgb */ color: rgb(220, 45, 175);
/* oklch */ color: oklch(61.9% 0.240 341.1);
Tailwind
colors: {
  custom: {
    50: '#ec7ac7',
    500: '#dc2daf',
    950: '#000000',
  },
}
SCSS
$custom: #dc2daf;
$custom-light: #ec7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc2daf",
  "rgb": {
    "r": 220,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 315.429,
    "s": 71.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61861,
    "c": 0.23987,
    "h": 341.1
  },
  "luminance": 0.20188
}

Semantic roles & 50–950 ramp

primary
#DC2DAF
secondary
#8CD9A0
accent
#EE683A
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #DC2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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