#DB4940#DB4940

#DB4940 is a mid, vivid red. Relative luminance 0.202; OKLCH L 60.8% C 0.184 H 27.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#DB4940
RGBrgb(219, 73, 64)
HSLhsl(3, 68%, 55%)
HSVhsv(3, 71%, 86%)
CMYKcmyk(0%, 66.7%, 70.8%, 14.1%)
CIE-LABlab(52.06, 56.35, 37.09)
CIE-LCHlch(52.06, 67.47, 33.35°)
OKLaboklab(60.84% 0.1631 0.0847)
OKLCHoklch(60.84% 0.184 27.5)
XYZxyz(32.5249, 20.2000, 7.0359)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4940 #40D2DB
analogous
#DB4084 #DB4940 #DB9640
triadic
#DB4940 #40DB49 #4940DB
tetradic
#DB4940 #84DB40 #40D2DB #9640DB
square
#DB4940 #84DB40 #40D2DB #9640DB
split-complementary
#DB4940 #40DB96 #4084DB
monochromatic
#872019 #BB2C23 #DB4940 #E57A73 #EEABA7

Accessibility & contrast

On white

4.17
#DB4940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#DB4940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4940
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4940#FFFFFF#000000##000000
##DB49401.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72683E
Deuteranopia (green-blind)
#96883B
Tritanopia (blue-blind)
#F01F48
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db4940;
/* rgb */ color: rgb(219, 73, 64);
/* oklch */ color: oklch(60.8% 0.184 27.5);
Tailwind
colors: {
  custom: {
    50: '#ee8375',
    500: '#db4940',
    950: '#000000',
  },
}
SCSS
$custom: #db4940;
$custom-light: #ee8375;
$custom-dark: #000000;
JSON
{
  "hex": "#db4940",
  "rgb": {
    "r": 219,
    "g": 73,
    "b": 64
  },
  "hsl": {
    "h": 3.484,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60837,
    "c": 0.18381,
    "h": 27.5
  },
  "luminance": 0.20195
}

Semantic roles & 50–950 ramp

primary
#DB4940
secondary
#9BD8DC
accent
#E1EB3D
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #DB4940

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

Preview Lab → · Contrast checker → · Palette generator →

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