#DC398A#DC398A

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

Color values

HEX#DC398A
RGBrgb(220, 57, 138)
HSLhsl(330, 70%, 54%)
HSVhsv(330, 74%, 86%)
CMYKcmyk(0%, 74.1%, 37.3%, 13.7%)
CIE-LABlab(51.82, 68.00, -7.19)
CIE-LCHlch(51.82, 68.38, 353.96°)
OKLaboklab(61.22% 0.2088 -0.0181)
OKLCHoklch(61.22% 0.21 355)
XYZxyz(35.5681, 19.9813, 26.0236)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC398A #39DC8B
analogous
#DC39DC #DC398A #DC3A39
triadic
#DC398A #8ADC39 #398ADC
tetradic
#DC398A #DCDC39 #39DC8B #3A39DC
square
#DC398A #DCDC39 #39DC8B #3A39DC
split-complementary
#DC398A #39DC3A #39DCDC
monochromatic
#83174D #B7206B #DC398A #E56DA9 #EEA1C7

Accessibility & contrast

On white

4.20
#DC398A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#DC398A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC398A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC398A#FFFFFF#000000##000000
##DC398A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#59688C
Deuteranopia (green-blind)
#868686
Tritanopia (blue-blind)
#ED265D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #dc398a;
/* rgb */ color: rgb(220, 57, 138);
/* oklch */ color: oklch(61.2% 0.210 355.0);
Tailwind
colors: {
  custom: {
    50: '#ec7eac',
    500: '#dc398a',
    950: '#000000',
  },
}
SCSS
$custom: #dc398a;
$custom-light: #ec7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#dc398a",
  "rgb": {
    "r": 220,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 330.184,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.20954,
    "h": 355
  },
  "luminance": 0.19977
}

Semantic roles & 50–950 ramp

primary
#DC398A
secondary
#96DBB9
accent
#ED943B
background
#FFF8FA
surface
#FFEFF4
border
#D7CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #DC398A

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

Preview Lab → · Contrast checker → · Palette generator →

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