#DB4742#DB4742

#DB4742 is a mid, vivid red. Relative luminance 0.200; OKLCH L 60.6% C 0.185 H 26.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#DB4742
RGBrgb(219, 71, 66)
HSLhsl(2, 68%, 56%)
HSVhsv(2, 70%, 86%)
CMYKcmyk(0%, 67.6%, 69.9%, 14.1%)
CIE-LABlab(51.80, 57.24, 35.65)
CIE-LCHlch(51.80, 67.44, 31.91°)
OKLaboklab(60.65% 0.1663 0.0819)
OKLCHoklch(60.65% 0.185 26.2)
XYZxyz(32.4535, 19.9646, 7.2979)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4742 #42D6DB
analogous
#DB4289 #DB4742 #DB9342
triadic
#DB4742 #42DB47 #4742DB
tetradic
#DB4742 #89DB42 #42D6DB #9342DB
square
#DB4742 #89DB42 #42D6DB #9342DB
split-complementary
#DB4742 #42DB93 #4289DB
monochromatic
#891E1A #BC2924 #DB4742 #E57975 #EFABA9

Accessibility & contrast

On white

4.21
#DB4742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#DB4742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4742
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4742#FFFFFF#000000##000000
##DB47421.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#706740
Deuteranopia (green-blind)
#95873D
Tritanopia (blue-blind)
#F01B47
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #db4742;
/* rgb */ color: rgb(219, 71, 66);
/* oklch */ color: oklch(60.6% 0.185 26.2);
Tailwind
colors: {
  custom: {
    50: '#ee8277',
    500: '#db4742',
    950: '#000000',
  },
}
SCSS
$custom: #db4742;
$custom-light: #ee8277;
$custom-dark: #000000;
JSON
{
  "hex": "#db4742",
  "rgb": {
    "r": 219,
    "g": 71,
    "b": 66
  },
  "hsl": {
    "h": 1.961,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60647,
    "c": 0.1854,
    "h": 26.2
  },
  "luminance": 0.1996
}

Semantic roles & 50–950 ramp

primary
#DB4742
secondary
#9DDADC
accent
#E5EB3D
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #DB4742

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

Preview Lab → · Contrast checker → · Palette generator →

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