#DB5240#DB5240

#DB5240 is a mid, vivid red. Relative luminance 0.215; OKLCH L 61.9% C 0.175 H 30.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#DB5240
RGBrgb(219, 82, 64)
HSLhsl(7, 68%, 55%)
HSVhsv(7, 71%, 86%)
CMYKcmyk(0%, 62.6%, 70.8%, 14.1%)
CIE-LABlab(53.46, 52.59, 38.70)
CIE-LCHlch(53.46, 65.30, 36.35°)
OKLaboklab(61.89% 0.1513 0.0883)
OKLCHoklch(61.89% 0.175 30.3)
XYZxyz(33.1596, 21.4695, 7.2474)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5240 #40C9DB
analogous
#DB407B #DB5240 #DBA040
triadic
#DB5240 #40DB52 #5240DB
tetradic
#DB5240 #7BDB40 #40C9DB #A040DB
square
#DB5240 #7BDB40 #40C9DB #A040DB
split-complementary
#DB5240 #40DBA0 #407BDB
monochromatic
#872619 #BB3523 #DB5240 #E58173 #EEAFA7

Accessibility & contrast

On white

3.97
#DB5240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#DB5240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5240
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5240#FFFFFF#000000##000000
##DB52401.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#786D3D
Deuteranopia (green-blind)
#9A8B3C
Tritanopia (blue-blind)
#F0314F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #db5240;
/* rgb */ color: rgb(219, 82, 64);
/* oklch */ color: oklch(61.9% 0.175 30.3);
Tailwind
colors: {
  custom: {
    50: '#ee8875',
    500: '#db5240',
    950: '#000000',
  },
}
SCSS
$custom: #db5240;
$custom-light: #ee8875;
$custom-dark: #000000;
JSON
{
  "hex": "#db5240",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 64
  },
  "hsl": {
    "h": 6.968,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61886,
    "c": 0.17517,
    "h": 30.3
  },
  "luminance": 0.21465
}

Semantic roles & 50–950 ramp

primary
#DB5240
secondary
#9BD4DC
accent
#D7EB3D
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C08
muted
#867D7B

Preview Lab

Preview with #DB5240

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

Preview Lab → · Contrast checker → · Palette generator →

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