#DC4A7F#DC4A7F

#DC4A7F is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.5% C 0.186 H 1.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#DC4A7F
RGBrgb(220, 74, 127)
HSLhsl(338, 68%, 58%)
HSVhsv(338, 66%, 86%)
CMYKcmyk(0%, 66.4%, 42.3%, 13.7%)
CIE-LABlab(53.65, 60.85, 2.08)
CIE-LCHlch(53.65, 60.89, 1.96°)
OKLaboklab(62.47% 0.1861 0.0061)
OKLCHoklch(62.47% 0.186 1.9)
XYZxyz(35.7973, 21.6499, 22.3683)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC4A7F #4ADCA7
analogous
#DC4AC8 #DC4A7F #DC5E4A
triadic
#DC4A7F #7FDC4A #4A7FDC
tetradic
#DC4A7F #C8DC4A #4ADCA7 #5E4ADC
square
#DC4A7F #C8DC4A #4ADCA7 #5E4ADC
split-complementary
#DC4A7F #4ADC5E #4AC8DC
monochromatic
#901C46 #C3265F #DC4A7F #E67DA3 #F0B1C8

Accessibility & contrast

On white

3.94
#DC4A7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#DC4A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC4A7F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC4A7F#FFFFFF#000000##000000
##DC4A7F1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#686E80
Deuteranopia (green-blind)
#8F8B7C
Tritanopia (blue-blind)
#EE385F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #dc4a7f;
/* rgb */ color: rgb(220, 74, 127);
/* oklch */ color: oklch(62.5% 0.186 1.9);
Tailwind
colors: {
  custom: {
    50: '#ec85a3',
    500: '#dc4a7f',
    950: '#000000',
  },
}
SCSS
$custom: #dc4a7f;
$custom-light: #ec85a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc4a7f",
  "rgb": {
    "r": 220,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 338.219,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62469,
    "c": 0.18624,
    "h": 1.9
  },
  "luminance": 0.21646
}

Semantic roles & 50–950 ramp

primary
#DC4A7F
secondary
#A4DEC9
accent
#EAAC3D
background
#FFF8FA
surface
#FEF0F3
border
#D6CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #DC4A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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