#DB317A#DB317A

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

Color values

HEX#DB317A
RGBrgb(219, 49, 122)
HSLhsl(334, 70%, 53%)
HSVhsv(334, 78%, 86%)
CMYKcmyk(0%, 77.6%, 44.3%, 14.1%)
CIE-LABlab(50.29, 68.58, 0.18)
CIE-LCHlch(50.29, 68.58, 0.15°)
OKLaboklab(59.91% 0.2107 0.0012)
OKLCHoklch(59.91% 0.211 0.3)
XYZxyz(33.8273, 18.6664, 20.2303)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB317A #31DB92
analogous
#DB31CF #DB317A #DB3D31
triadic
#DB317A #7ADB31 #317ADB
tetradic
#DB317A #CFDB31 #31DB92 #3D31DB
square
#DB317A #CFDB31 #31DB92 #3D31DB
split-complementary
#DB317A #31DB3D #31CFDB
monochromatic
#7C1642 #B01F5D #DB317A #E4659C #ED99BD

Accessibility & contrast

On white

4.44
#DB317A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#DB317A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB317A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB317A#FFFFFF#000000##000000
##DB317A1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#59637C
Deuteranopia (green-blind)
#878376
Tritanopia (blue-blind)
#EE0652
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #db317a;
/* rgb */ color: rgb(219, 49, 122);
/* oklch */ color: oklch(59.9% 0.211 0.3);
Tailwind
colors: {
  custom: {
    50: '#ec7aa0',
    500: '#db317a',
    950: '#000000',
  },
}
SCSS
$custom: #db317a;
$custom-light: #ec7aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#db317a",
  "rgb": {
    "r": 219,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 334.235,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59914,
    "c": 0.21072,
    "h": 0.3
  },
  "luminance": 0.18662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB317A

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

Preview Lab → · Contrast checker → · Palette generator →

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