#DC4278#DC4278

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

Color values

HEX#DC4278
RGBrgb(220, 66, 120)
HSLhsl(339, 69%, 56%)
HSVhsv(339, 70%, 86%)
CMYKcmyk(0%, 70%, 45.5%, 13.7%)
CIE-LABlab(52.37, 63.20, 4.41)
CIE-LCHlch(52.37, 63.36, 3.99°)
OKLaboklab(61.45% 0.1933 0.012)
OKLCHoklch(61.45% 0.194 3.6)
XYZxyz(34.8563, 20.4726, 19.8818)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC4278 #42DCA6
analogous
#DC42C5 #DC4278 #DC5942
triadic
#DC4278 #78DC42 #4278DC
tetradic
#DC4278 #C5DC42 #42DCA6 #5942DC
square
#DC4278 #C5DC42 #42DCA6 #5942DC
split-complementary
#DC4278 #42DC59 #42C5DC
monochromatic
#8A1A41 #BE2359 #DC4278 #E6769D #EFA9C2

Accessibility & contrast

On white

4.12
#DC4278 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#DC4278 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC4278
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC4278#FFFFFF#000000##000000
##DC42781.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A79
Deuteranopia (green-blind)
#8D8874
Tritanopia (blue-blind)
#EF2958
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #dc4278;
/* rgb */ color: rgb(220, 66, 120);
/* oklch */ color: oklch(61.5% 0.194 3.6);
Tailwind
colors: {
  custom: {
    50: '#ed819e',
    500: '#dc4278',
    950: '#000000',
  },
}
SCSS
$custom: #dc4278;
$custom-light: #ed819e;
$custom-dark: #000000;
JSON
{
  "hex": "#dc4278",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 338.961,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61454,
    "c": 0.19371,
    "h": 3.6
  },
  "luminance": 0.20468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC4278

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

Preview Lab → · Contrast checker → · Palette generator →

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