#DB337B#DB337B

#DB337B is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.1% C 0.209 H 0.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#DB337B
RGBrgb(219, 51, 123)
HSLhsl(334, 70%, 53%)
HSVhsv(334, 77%, 86%)
CMYKcmyk(0%, 76.7%, 43.8%, 14.1%)
CIE-LABlab(50.53, 68.10, -0.09)
CIE-LCHlch(50.53, 68.10, 359.92°)
OKLaboklab(60.09% 0.2092 0.0005)
OKLCHoklch(60.09% 0.209 0.1)
XYZxyz(33.9751, 18.8623, 20.5868)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB337B #33DB93
analogous
#DB33CF #DB337B #DB3F33
triadic
#DB337B #7BDB33 #337BDB
tetradic
#DB337B #CFDB33 #33DB93 #3F33DB
square
#DB337B #CFDB33 #33DB93 #3F33DB
split-complementary
#DB337B #33DB3F #33CFDB
monochromatic
#7D1642 #B11F5E #DB337B #E4679D #ED9BBE

Accessibility & contrast

On white

4.40
#DB337B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#DB337B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB337B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB337B#FFFFFF#000000##000000
##DB337B1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A647D
Deuteranopia (green-blind)
#878477
Tritanopia (blue-blind)
#EE0E53
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #db337b;
/* rgb */ color: rgb(219, 51, 123);
/* oklch */ color: oklch(60.1% 0.209 0.1);
Tailwind
colors: {
  custom: {
    50: '#ec7ba1',
    500: '#db337b',
    950: '#000000',
  },
}
SCSS
$custom: #db337b;
$custom-light: #ec7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#db337b",
  "rgb": {
    "r": 219,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 334.286,
    "s": 70,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60093,
    "c": 0.2092,
    "h": 0.1
  },
  "luminance": 0.18858
}

Semantic roles & 50–950 ramp

primary
#DB337B
secondary
#91D9BA
accent
#EDA13B
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #DB337B

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

Preview Lab → · Contrast checker → · Palette generator →

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