#DC427C#DC427C

#DC427C is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.6% C 0.195 H 1.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#DC427C
RGBrgb(220, 66, 124)
HSLhsl(337, 69%, 56%)
HSVhsv(337, 70%, 86%)
CMYKcmyk(0%, 70%, 43.6%, 13.7%)
CIE-LABlab(52.48, 63.58, 2.17)
CIE-LCHlch(52.48, 63.61, 1.95°)
OKLaboklab(61.57% 0.1947 0.0063)
OKLCHoklch(61.57% 0.195 1.9)
XYZxyz(35.1042, 20.5718, 21.1870)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC427C #42DCA2
analogous
#DC42C9 #DC427C #DC5542
triadic
#DC427C #7CDC42 #427CDC
tetradic
#DC427C #C9DC42 #42DCA2 #5542DC
square
#DC427C #C9DC42 #42DCA2 #5542DC
split-complementary
#DC427C #42DC55 #42C9DC
monochromatic
#8A1A44 #BE235D #DC427C #E676A0 #EFA9C4

Accessibility & contrast

On white

4.11
#DC427C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#DC427C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC427C
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC427C#FFFFFF#000000##000000
##DC427C1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7D
Deuteranopia (green-blind)
#8C8878
Tritanopia (blue-blind)
#EE2B5A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #dc427c;
/* rgb */ color: rgb(220, 66, 124);
/* oklch */ color: oklch(61.6% 0.195 1.9);
Tailwind
colors: {
  custom: {
    50: '#ec81a1',
    500: '#dc427c',
    950: '#000000',
  },
}
SCSS
$custom: #dc427c;
$custom-light: #ec81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc427c",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 337.403,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61572,
    "c": 0.1948,
    "h": 1.9
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#DC427C
secondary
#9DDDC5
accent
#ECAA3C
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #DC427C

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

Preview Lab → · Contrast checker → · Palette generator →

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