#DB5942#DB5942

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

Color values

HEX#DB5942
RGBrgb(219, 89, 66)
HSLhsl(9, 68%, 56%)
HSVhsv(9, 70%, 86%)
CMYKcmyk(0%, 59.4%, 69.9%, 14.1%)
CIE-LABlab(54.66, 49.57, 38.99)
CIE-LCHlch(54.66, 63.07, 38.19°)
OKLaboklab(62.8% 0.1423 0.0892)
OKLCHoklch(62.8% 0.168 32.1)
XYZxyz(33.7726, 22.6027, 7.7376)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5942 #42C4DB
analogous
#DB4277 #DB5942 #DBA642
triadic
#DB5942 #42DB59 #5942DB
tetradic
#DB5942 #77DB42 #42C4DB #A642DB
square
#DB5942 #77DB42 #42C4DB #A642DB
split-complementary
#DB5942 #42DBA6 #4277DB
monochromatic
#892B1A #BC3B24 #DB5942 #E58675 #EFB3A9

Accessibility & contrast

On white

3.80
#DB5942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB5942#FFFFFF#000000##000000
##DB59421.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db5942;
/* rgb */ color: rgb(219, 89, 66);
/* oklch */ color: oklch(62.8% 0.168 32.1);
Tailwind
colors: {
  custom: {
    50: '#ee8c77',
    500: '#db5942',
    950: '#000000',
  },
}
SCSS
$custom: #db5942;
$custom-light: #ee8c77;
$custom-dark: #000000;
JSON
{
  "hex": "#db5942",
  "rgb": {
    "r": 219,
    "g": 89,
    "b": 66
  },
  "hsl": {
    "h": 9.02,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.628,
    "c": 0.16795,
    "h": 32.1
  },
  "luminance": 0.22598
}

Semantic roles & 50–950 ramp

primary
#DB5942
secondary
#9DD3DC
accent
#D1EB3D
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C09
muted
#867D7B

Preview Lab

Preview with #DB5942

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

Preview Lab → · Contrast checker → · Palette generator →

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