#DB5170#DB5170

#DB5170 is a light, vivid red. Relative luminance 0.221; OKLCH L 62.7% C 0.173 H 10.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#DB5170
RGBrgb(219, 81, 112)
HSLhsl(347, 66%, 59%)
HSVhsv(347, 63%, 86%)
CMYKcmyk(0%, 63%, 48.9%, 14.1%)
CIE-LABlab(54.15, 56.28, 11.70)
CIE-LCHlch(54.15, 57.49, 11.75°)
OKLaboklab(62.68% 0.1708 0.0301)
OKLCHoklch(62.68% 0.173 10)
XYZxyz(35.0833, 22.1191, 17.7480)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5170 #51DBBC
analogous
#DB51B5 #DB5170 #DB7751
triadic
#DB5170 #70DB51 #5170DB
tetradic
#DB5170 #B5DB51 #51DBBC #7751DB
square
#DB5170 #B5DB51 #51DBBC #7751DB
split-complementary
#DB5170 #51DB77 #51B5DB
monochromatic
#931E39 #C6294C #DB5170 #E5849A #F0B6C3

Accessibility & contrast

On white

3.87
#DB5170 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#DB5170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5170
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5170#FFFFFF#000000##000000
##DB51701.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#707071
Deuteranopia (green-blind)
#948C6D
Tritanopia (blue-blind)
#EE3C5D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db5170;
/* rgb */ color: rgb(219, 81, 112);
/* oklch */ color: oklch(62.7% 0.173 10.0);
Tailwind
colors: {
  custom: {
    50: '#ec8998',
    500: '#db5170',
    950: '#000000',
  },
}
SCSS
$custom: #db5170;
$custom-light: #ec8998;
$custom-dark: #000000;
JSON
{
  "hex": "#db5170",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 346.522,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62683,
    "c": 0.17338,
    "h": 10
  },
  "luminance": 0.22115
}

Semantic roles & 50–950 ramp

primary
#DB5170
secondary
#A9DFD3
accent
#E9C33F
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #DB5170

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

Preview Lab → · Contrast checker → · Palette generator →

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