#DC398B#DC398B

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

Color values

HEX#DC398B
RGBrgb(220, 57, 139)
HSLhsl(330, 70%, 54%)
HSVhsv(330, 74%, 86%)
CMYKcmyk(0%, 74.1%, 36.8%, 13.7%)
CIE-LABlab(51.85, 68.10, -7.74)
CIE-LCHlch(51.85, 68.54, 353.51°)
OKLaboklab(61.26% 0.209 -0.0196)
OKLCHoklch(61.26% 0.21 354.6)
XYZxyz(35.6409, 20.0104, 26.4066)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC398B #39DC8A
analogous
#DC39DC #DC398B #DC393A
triadic
#DC398B #8BDC39 #398BDC
tetradic
#DC398B #DCDC39 #39DC8A #393ADC
square
#DC398B #DCDC39 #39DC8A #393ADC
split-complementary
#DC398B #3ADC39 #39DCDC
monochromatic
#83174E #B7206C #DC398B #E56DA9 #EEA1C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC398B#FFFFFF#000000##000000
##DC398B1.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)
#59688D
Deuteranopia (green-blind)
#868687
Tritanopia (blue-blind)
#ED275D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #dc398b;
/* rgb */ color: rgb(220, 57, 139);
/* oklch */ color: oklch(61.3% 0.210 354.6);
Tailwind
colors: {
  custom: {
    50: '#ec7eac',
    500: '#dc398b',
    950: '#000000',
  },
}
SCSS
$custom: #dc398b;
$custom-light: #ec7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#dc398b",
  "rgb": {
    "r": 220,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 329.816,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61259,
    "c": 0.20995,
    "h": 354.6
  },
  "luminance": 0.20006
}

Semantic roles & 50–950 ramp

primary
#DC398B
secondary
#96DBB8
accent
#ED933B
background
#FFF8FA
surface
#FFEFF4
border
#D7CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #DC398B

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

Preview Lab → · Contrast checker → · Palette generator →

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