#DC398C#DC398C

#DC398C is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.3% C 0.210 H 354.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#DC398C
RGBrgb(220, 57, 140)
HSLhsl(329, 70%, 54%)
HSVhsv(329, 74%, 86%)
CMYKcmyk(0%, 74.1%, 36.4%, 13.7%)
CIE-LABlab(51.88, 68.21, -8.29)
CIE-LCHlch(51.88, 68.71, 353.07°)
OKLaboklab(61.29% 0.2093 -0.021)
OKLCHoklch(61.29% 0.21 354.3)
XYZxyz(35.7143, 20.0397, 26.7932)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC398C #39DC89
analogous
#DB39DC #DC398C #DC393B
triadic
#DC398C #8CDC39 #398CDC
tetradic
#DC398C #DCDB39 #39DC89 #393BDC
square
#DC398C #DCDB39 #39DC89 #393BDC
split-complementary
#DC398C #3BDC39 #39DCDB
monochromatic
#83174E #B7206D #DC398C #E56DAA #EEA1C8

Accessibility & contrast

On white

4.19
#DC398C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#DC398C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC398C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC398C#FFFFFF#000000##000000
##DC398C1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#58698E
Deuteranopia (green-blind)
#868788
Tritanopia (blue-blind)
#ED275E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #dc398c;
/* rgb */ color: rgb(220, 57, 140);
/* oklch */ color: oklch(61.3% 0.210 354.3);
Tailwind
colors: {
  custom: {
    50: '#ec7ead',
    500: '#dc398c',
    950: '#000000',
  },
}
SCSS
$custom: #dc398c;
$custom-light: #ec7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#dc398c",
  "rgb": {
    "r": 220,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 329.448,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61294,
    "c": 0.21038,
    "h": 354.3
  },
  "luminance": 0.20035
}

Semantic roles & 50–950 ramp

primary
#DC398C
secondary
#96DBB8
accent
#ED923B
background
#FFF8FA
surface
#FEEFF4
border
#D6CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #DC398C

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

Preview Lab → · Contrast checker → · Palette generator →

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