#DC337B#DC337B

#DC337B is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.3% C 0.210 H 0.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#DC337B
RGBrgb(220, 51, 123)
HSLhsl(334, 71%, 53%)
HSVhsv(334, 77%, 86%)
CMYKcmyk(0%, 76.8%, 44.1%, 13.7%)
CIE-LABlab(50.71, 68.36, 0.20)
CIE-LCHlch(50.71, 68.36, 0.17°)
OKLaboklab(60.26% 0.21 0.0013)
OKLCHoklch(60.26% 0.21 0.3)
XYZxyz(34.2769, 19.0179, 20.6009)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC337B #33DC94
analogous
#DC33CF #DC337B #DC3F33
triadic
#DC337B #7BDC33 #337BDC
tetradic
#DC337B #CFDC33 #33DC94 #3F33DC
square
#DC337B #CFDC33 #33DC94 #3F33DC
split-complementary
#DC337B #33DC3F #33CFDC
monochromatic
#7F1643 #B31F5E #DC337B #E5679D #EE9BBF

Accessibility & contrast

On white

4.37
#DC337B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#DC337B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC337B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC337B#FFFFFF#000000##000000
##DC337B1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A647D
Deuteranopia (green-blind)
#888477
Tritanopia (blue-blind)
#EF0D53
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #dc337b;
/* rgb */ color: rgb(220, 51, 123);
/* oklch */ color: oklch(60.3% 0.210 0.3);
Tailwind
colors: {
  custom: {
    50: '#ed7ba1',
    500: '#dc337b',
    950: '#000000',
  },
}
SCSS
$custom: #dc337b;
$custom-light: #ed7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc337b",
  "rgb": {
    "r": 220,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 334.438,
    "s": 70.711,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6026,
    "c": 0.20999,
    "h": 0.3
  },
  "luminance": 0.19013
}

Semantic roles & 50–950 ramp

primary
#DC337B
secondary
#91DABB
accent
#EDA13A
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #DC337B

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

Preview Lab → · Contrast checker → · Palette generator →

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