#DB5172#DB5172

#DB5172 is a light, vivid red. Relative luminance 0.222; OKLCH L 62.7% C 0.174 H 9.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#DB5172
RGBrgb(219, 81, 114)
HSLhsl(346, 66%, 59%)
HSVhsv(346, 63%, 86%)
CMYKcmyk(0%, 63%, 47.9%, 14.1%)
CIE-LABlab(54.20, 56.46, 10.58)
CIE-LCHlch(54.20, 57.44, 10.61°)
OKLaboklab(62.73% 0.1715 0.0274)
OKLCHoklch(62.73% 0.174 9.1)
XYZxyz(35.1959, 22.1642, 18.3410)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5172 #51DBBA
analogous
#DB51B7 #DB5172 #DB7551
triadic
#DB5172 #72DB51 #5172DB
tetradic
#DB5172 #B7DB51 #51DBBA #7551DB
square
#DB5172 #B7DB51 #51DBBA #7551DB
split-complementary
#DB5172 #51DB75 #51B7DB
monochromatic
#931E3A #C6294E #DB5172 #E5849B #F0B6C4

Accessibility & contrast

On white

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

On black

5.43
#DB5172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5172
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5172#FFFFFF#000000##000000
##DB51721.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7073
Deuteranopia (green-blind)
#938C6F
Tritanopia (blue-blind)
#EE3C5E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #db5172;
/* rgb */ color: rgb(219, 81, 114);
/* oklch */ color: oklch(62.7% 0.174 9.1);
Tailwind
colors: {
  custom: {
    50: '#eb899a',
    500: '#db5172',
    950: '#000000',
  },
}
SCSS
$custom: #db5172;
$custom-light: #eb899a;
$custom-dark: #000000;
JSON
{
  "hex": "#db5172",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 345.652,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62734,
    "c": 0.17367,
    "h": 9.1
  },
  "luminance": 0.2216
}

Semantic roles & 50–950 ramp

primary
#DB5172
secondary
#A9DFD2
accent
#E9C03F
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB5172

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

Preview Lab → · Contrast checker → · Palette generator →

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