#DC427B#DC427B

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

Color values

HEX#DC427B
RGBrgb(220, 66, 123)
HSLhsl(338, 69%, 56%)
HSVhsv(338, 70%, 86%)
CMYKcmyk(0%, 70%, 44.1%, 13.7%)
CIE-LABlab(52.45, 63.48, 2.73)
CIE-LCHlch(52.45, 63.54, 2.46°)
OKLaboklab(61.54% 0.1944 0.0077)
OKLCHoklch(61.54% 0.195 2.3)
XYZxyz(35.0412, 20.5466, 20.8557)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC427B #42DCA3
analogous
#DC42C8 #DC427B #DC5642
triadic
#DC427B #7BDC42 #427BDC
tetradic
#DC427B #C8DC42 #42DCA3 #5642DC
square
#DC427B #C8DC42 #42DCA3 #5642DC
split-complementary
#DC427B #42DC56 #42C8DC
monochromatic
#8A1A43 #BE235C #DC427B #E6769F #EFA9C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC427B#FFFFFF#000000##000000
##DC427B1.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)
#636A7C
Deuteranopia (green-blind)
#8D8877
Tritanopia (blue-blind)
#EE2B5A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #dc427b;
/* rgb */ color: rgb(220, 66, 123);
/* oklch */ color: oklch(61.5% 0.195 2.3);
Tailwind
colors: {
  custom: {
    50: '#ec81a1',
    500: '#dc427b',
    950: '#000000',
  },
}
SCSS
$custom: #dc427b;
$custom-light: #ec81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc427b",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 337.792,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61542,
    "c": 0.19452,
    "h": 2.3
  },
  "luminance": 0.20542
}

Semantic roles & 50–950 ramp

primary
#DC427B
secondary
#9DDDC5
accent
#ECAB3C
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #DC427B

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

Preview Lab → · Contrast checker → · Palette generator →

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