#DB5340#DB5340

#DB5340 is a light, vivid red. Relative luminance 0.216; OKLCH L 62.0% C 0.174 H 30.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#DB5340
RGBrgb(219, 83, 64)
HSLhsl(7, 68%, 55%)
HSVhsv(7, 71%, 86%)
CMYKcmyk(0%, 62.1%, 70.8%, 14.1%)
CIE-LABlab(53.62, 52.16, 38.89)
CIE-LCHlch(53.62, 65.06, 36.71°)
OKLaboklab(62.01% 0.15 0.0887)
OKLCHoklch(62.01% 0.174 30.6)
XYZxyz(33.2356, 21.6214, 7.2727)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5340 #40C8DB
analogous
#DB407A #DB5340 #DBA140
triadic
#DB5340 #40DB53 #5340DB
tetradic
#DB5340 #7ADB40 #40C8DB #A140DB
square
#DB5340 #7ADB40 #40C8DB #A140DB
split-complementary
#DB5340 #40DBA1 #407ADB
monochromatic
#872719 #BB3623 #DB5340 #E58173 #EEB0A7

Accessibility & contrast

On white

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

On black

5.32
#DB5340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5340
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5340#FFFFFF#000000##000000
##DB53401.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db5340;
/* rgb */ color: rgb(219, 83, 64);
/* oklch */ color: oklch(62.0% 0.174 30.6);
Tailwind
colors: {
  custom: {
    50: '#ee8975',
    500: '#db5340',
    950: '#000000',
  },
}
SCSS
$custom: #db5340;
$custom-light: #ee8975;
$custom-dark: #000000;
JSON
{
  "hex": "#db5340",
  "rgb": {
    "r": 219,
    "g": 83,
    "b": 64
  },
  "hsl": {
    "h": 7.355,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62009,
    "c": 0.17421,
    "h": 30.6
  },
  "luminance": 0.21617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB5340

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

Preview Lab → · Contrast checker → · Palette generator →

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