#DC427A#DC427A

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

Color values

HEX#DC427A
RGBrgb(220, 66, 122)
HSLhsl(338, 69%, 56%)
HSVhsv(338, 70%, 86%)
CMYKcmyk(0%, 70%, 44.5%, 13.7%)
CIE-LABlab(52.42, 63.39, 3.29)
CIE-LCHlch(52.42, 63.47, 2.97°)
OKLaboklab(61.51% 0.194 0.0092)
OKLCHoklch(61.51% 0.194 2.7)
XYZxyz(34.9790, 20.5217, 20.5277)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC427A #42DCA4
analogous
#DC42C7 #DC427A #DC5742
triadic
#DC427A #7ADC42 #427ADC
tetradic
#DC427A #C7DC42 #42DCA4 #5742DC
square
#DC427A #C7DC42 #42DCA4 #5742DC
split-complementary
#DC427A #42DC57 #42C7DC
monochromatic
#8A1A42 #BE235B #DC427A #E6769E #EFA9C3

Accessibility & contrast

On white

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

On black

5.10
#DC427A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC427A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC427A#FFFFFF#000000##000000
##DC427A1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A7B
Deuteranopia (green-blind)
#8D8876
Tritanopia (blue-blind)
#EF2A59
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #dc427a;
/* rgb */ color: rgb(220, 66, 122);
/* oklch */ color: oklch(61.5% 0.194 2.7);
Tailwind
colors: {
  custom: {
    50: '#ec81a0',
    500: '#dc427a',
    950: '#000000',
  },
}
SCSS
$custom: #dc427a;
$custom-light: #ec81a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc427a",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 338.182,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61512,
    "c": 0.19424,
    "h": 2.7
  },
  "luminance": 0.20517
}

Semantic roles & 50–950 ramp

primary
#DC427A
secondary
#9DDDC6
accent
#ECAC3C
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #DC427A

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

Preview Lab → · Contrast checker → · Palette generator →

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