#DB317C#DB317C

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

Color values

HEX#DB317C
RGBrgb(219, 49, 124)
HSLhsl(334, 70%, 53%)
HSVhsv(334, 78%, 86%)
CMYKcmyk(0%, 77.6%, 43.4%, 14.1%)
CIE-LABlab(50.35, 68.76, -0.95)
CIE-LCHlch(50.35, 68.77, 359.21°)
OKLaboklab(59.98% 0.2114 -0.0017)
OKLCHoklch(59.98% 0.211 359.5)
XYZxyz(33.9525, 18.7164, 20.8896)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB317C #31DB90
analogous
#DB31D1 #DB317C #DB3B31
triadic
#DB317C #7CDB31 #317CDB
tetradic
#DB317C #D1DB31 #31DB90 #3B31DB
square
#DB317C #D1DB31 #31DB90 #3B31DB
split-complementary
#DB317C #31DB3B #31D1DB
monochromatic
#7C1643 #B01F5F #DB317C #E4659D #ED99BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB317C#FFFFFF#000000##000000
##DB317C1.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)
#59637E
Deuteranopia (green-blind)
#878378
Tritanopia (blue-blind)
#EE0953
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #db317c;
/* rgb */ color: rgb(219, 49, 124);
/* oklch */ color: oklch(60.0% 0.211 359.5);
Tailwind
colors: {
  custom: {
    50: '#ec7aa1',
    500: '#db317c',
    950: '#000000',
  },
}
SCSS
$custom: #db317c;
$custom-light: #ec7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#db317c",
  "rgb": {
    "r": 219,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 333.529,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59976,
    "c": 0.21137,
    "h": 359.5
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#DB317C
secondary
#8FD9B8
accent
#ED9E3B
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #DB317C

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

Preview Lab → · Contrast checker → · Palette generator →

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