#DB5157#DB5157

#DB5157 is a light, vivid red. Relative luminance 0.216; OKLCH L 62.1% C 0.173 H 21.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#DB5157
RGBrgb(219, 81, 87)
HSLhsl(357, 66%, 59%)
HSVhsv(357, 63%, 86%)
CMYKcmyk(0%, 63%, 60.3%, 14.1%)
CIE-LABlab(53.64, 54.34, 25.79)
CIE-LCHlch(53.64, 60.15, 25.38°)
OKLaboklab(62.13% 0.1611 0.0624)
OKLCHoklch(62.13% 0.173 21.2)
XYZxyz(33.8793, 21.6376, 11.4074)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5157 #51DBD5
analogous
#DB519C #DB5157 #DB9051
triadic
#DB5157 #57DB51 #5157DB
tetradic
#DB5157 #9CDB51 #51DBD5 #9051DB
square
#DB5157 #9CDB51 #51DBD5 #9051DB
split-complementary
#DB5157 #51DB90 #519CDB
monochromatic
#931E24 #C62930 #DB5157 #E58488 #F0B6B9

Accessibility & contrast

On white

3.94
#DB5157 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#DB5157 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5157
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5157#FFFFFF#000000##000000
##DB51571.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#746E56
Deuteranopia (green-blind)
#978B53
Tritanopia (blue-blind)
#EF3554
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #db5157;
/* rgb */ color: rgb(219, 81, 87);
/* oklch */ color: oklch(62.1% 0.173 21.2);
Tailwind
colors: {
  custom: {
    50: '#ed8886',
    500: '#db5157',
    950: '#000000',
  },
}
SCSS
$custom: #db5157;
$custom-light: #ed8886;
$custom-dark: #000000;
JSON
{
  "hex": "#db5157",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 87
  },
  "hsl": {
    "h": 357.391,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62132,
    "c": 0.17282,
    "h": 21.2
  },
  "luminance": 0.21633
}

Semantic roles & 50–950 ramp

primary
#DB5157
secondary
#A9DFDD
accent
#E9E13F
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#180C0B
muted
#867D7C

Preview Lab

Preview with #DB5157

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

Preview Lab → · Contrast checker → · Palette generator →

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