#DB4F42#DB4F42

#DB4F42 is a mid, vivid red. Relative luminance 0.210; OKLCH L 61.6% C 0.178 H 28.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#DB4F42
RGBrgb(219, 79, 66)
HSLhsl(5, 68%, 56%)
HSVhsv(5, 70%, 86%)
CMYKcmyk(0%, 63.9%, 69.9%, 14.1%)
CIE-LABlab(53.00, 53.98, 37.07)
CIE-LCHlch(53.00, 65.48, 34.48°)
OKLaboklab(61.55% 0.1561 0.085)
OKLCHoklch(61.55% 0.178 28.6)
XYZxyz(32.9962, 21.0500, 7.4788)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4F42 #42CEDB
analogous
#DB4281 #DB4F42 #DB9B42
triadic
#DB4F42 #42DB4F #4F42DB
tetradic
#DB4F42 #81DB42 #42CEDB #9B42DB
square
#DB4F42 #81DB42 #42CEDB #9B42DB
split-complementary
#DB4F42 #42DB9B #4281DB
monochromatic
#89231A #BC3124 #DB4F42 #E57F75 #EFAFA9

Accessibility & contrast

On white

4.03
#DB4F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#DB4F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4F42
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4F42#FFFFFF#000000##000000
##DB4F421.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#756B40
Deuteranopia (green-blind)
#988A3E
Tritanopia (blue-blind)
#F02C4D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #db4f42;
/* rgb */ color: rgb(219, 79, 66);
/* oklch */ color: oklch(61.6% 0.178 28.6);
Tailwind
colors: {
  custom: {
    50: '#ee8777',
    500: '#db4f42',
    950: '#000000',
  },
}
SCSS
$custom: #db4f42;
$custom-light: #ee8777;
$custom-dark: #000000;
JSON
{
  "hex": "#db4f42",
  "rgb": {
    "r": 219,
    "g": 79,
    "b": 66
  },
  "hsl": {
    "h": 5.098,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.17772,
    "h": 28.6
  },
  "luminance": 0.21045
}

Semantic roles & 50–950 ramp

primary
#DB4F42
secondary
#9DD7DC
accent
#DCEB3D
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C08
muted
#867D7B

Preview Lab

Preview with #DB4F42

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

Preview Lab → · Contrast checker → · Palette generator →

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