#DB5940#DB5940

#DB5940 is a light, vivid red. Relative luminance 0.226; OKLCH L 62.8% C 0.168 H 32.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#DB5940
RGBrgb(219, 89, 64)
HSLhsl(10, 68%, 55%)
HSVhsv(10, 71%, 86%)
CMYKcmyk(0%, 59.4%, 70.8%, 14.1%)
CIE-LABlab(54.64, 49.47, 40.05)
CIE-LCHlch(54.64, 63.65, 38.99°)
OKLaboklab(62.77% 0.1416 0.0912)
OKLCHoklch(62.77% 0.168 32.8)
XYZxyz(33.7146, 22.5795, 7.4324)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5940 #40C2DB
analogous
#DB4075 #DB5940 #DBA640
triadic
#DB5940 #40DB59 #5940DB
tetradic
#DB5940 #75DB40 #40C2DB #A640DB
square
#DB5940 #75DB40 #40C2DB #A640DB
split-complementary
#DB5940 #40DBA6 #4075DB
monochromatic
#872B19 #BB3C23 #DB5940 #E58673 #EEB3A7

Accessibility & contrast

On white

3.81
#DB5940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#DB5940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5940
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5940#FFFFFF#000000##000000
##DB59401.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C713D
Deuteranopia (green-blind)
#9C8D3C
Tritanopia (blue-blind)
#F03C54
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db5940;
/* rgb */ color: rgb(219, 89, 64);
/* oklch */ color: oklch(62.8% 0.168 32.8);
Tailwind
colors: {
  custom: {
    50: '#ee8c76',
    500: '#db5940',
    950: '#000000',
  },
}
SCSS
$custom: #db5940;
$custom-light: #ee8c76;
$custom-dark: #000000;
JSON
{
  "hex": "#db5940",
  "rgb": {
    "r": 219,
    "g": 89,
    "b": 64
  },
  "hsl": {
    "h": 9.677,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62774,
    "c": 0.16842,
    "h": 32.8
  },
  "luminance": 0.22575
}

Semantic roles & 50–950 ramp

primary
#DB5940
secondary
#9BD1DC
accent
#CFEB3D
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C08
muted
#867D7B

Preview Lab

Preview with #DB5940

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

Preview Lab → · Contrast checker → · Palette generator →

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