#DB5257#DB5257

#DB5257 is a light, vivid red. Relative luminance 0.218; OKLCH L 62.3% C 0.172 H 21.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#DB5257
RGBrgb(219, 82, 87)
HSLhsl(358, 66%, 59%)
HSVhsv(358, 63%, 86%)
CMYKcmyk(0%, 62.6%, 60.3%, 14.1%)
CIE-LABlab(53.80, 53.91, 25.99)
CIE-LCHlch(53.80, 59.85, 25.74°)
OKLaboklab(62.25% 0.1598 0.0629)
OKLCHoklch(62.25% 0.172 21.5)
XYZxyz(33.9542, 21.7873, 11.4324)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5257 #52DBD6
analogous
#DB529C #DB5257 #DB9252
triadic
#DB5257 #57DB52 #5257DB
tetradic
#DB5257 #9CDB52 #52DBD6 #9252DB
square
#DB5257 #9CDB52 #52DBD6 #9252DB
split-complementary
#DB5257 #52DB92 #529CDB
monochromatic
#941F23 #C6292F #DB5257 #E68588 #F0B7B9

Accessibility & contrast

On white

3.92
#DB5257 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#DB5257 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5257
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5257#FFFFFF#000000##000000
##DB52571.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#756E56
Deuteranopia (green-blind)
#978B54
Tritanopia (blue-blind)
#EF3655
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db5257;
/* rgb */ color: rgb(219, 82, 87);
/* oklch */ color: oklch(62.3% 0.172 21.5);
Tailwind
colors: {
  custom: {
    50: '#ed8986',
    500: '#db5257',
    950: '#000000',
  },
}
SCSS
$custom: #db5257;
$custom-light: #ed8986;
$custom-dark: #000000;
JSON
{
  "hex": "#db5257",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 87
  },
  "hsl": {
    "h": 357.81,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62253,
    "c": 0.17172,
    "h": 21.5
  },
  "luminance": 0.21783
}

Semantic roles & 50–950 ramp

primary
#DB5257
secondary
#AADFDD
accent
#E9E23F
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#180C0B
muted
#867D7C

Preview Lab

Preview with #DB5257

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

Preview Lab → · Contrast checker → · Palette generator →

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