#DB317B#DB317B

#DB317B is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 59.9% C 0.211 H 359.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#DB317B
RGBrgb(219, 49, 123)
HSLhsl(334, 70%, 53%)
HSVhsv(334, 78%, 86%)
CMYKcmyk(0%, 77.6%, 43.8%, 14.1%)
CIE-LABlab(50.32, 68.67, -0.39)
CIE-LCHlch(50.32, 68.67, 359.68°)
OKLaboklab(59.95% 0.211 -0.0002)
OKLCHoklch(59.95% 0.211 359.9)
XYZxyz(33.8896, 18.6913, 20.5583)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB317B #31DB91
analogous
#DB31D0 #DB317B #DB3C31
triadic
#DB317B #7BDB31 #317BDB
tetradic
#DB317B #D0DB31 #31DB91 #3C31DB
square
#DB317B #D0DB31 #31DB91 #3C31DB
split-complementary
#DB317B #31DB3C #31D0DB
monochromatic
#7C1642 #B01F5E #DB317B #E4659C #ED99BE

Accessibility & contrast

On white

4.43
#DB317B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#DB317B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB317B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB317B#FFFFFF#000000##000000
##DB317B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#59637D
Deuteranopia (green-blind)
#878377
Tritanopia (blue-blind)
#EE0852
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #db317b;
/* rgb */ color: rgb(219, 49, 123);
/* oklch */ color: oklch(59.9% 0.211 359.9);
Tailwind
colors: {
  custom: {
    50: '#ec7aa1',
    500: '#db317b',
    950: '#000000',
  },
}
SCSS
$custom: #db317b;
$custom-light: #ec7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#db317b",
  "rgb": {
    "r": 219,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 333.882,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59945,
    "c": 0.21104,
    "h": 359.9
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#DB317B
secondary
#8FD9B9
accent
#ED9F3B
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #DB317B

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

Preview Lab → · Contrast checker → · Palette generator →

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