#D04939#D04939

#D04939 is a mid, vivid red. Relative luminance 0.185; OKLCH L 59.0% C 0.173 H 29.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#D04939
RGBrgb(208, 73, 57)
HSLhsl(6, 62%, 52%)
HSVhsv(6, 73%, 82%)
CMYKcmyk(0%, 64.9%, 72.6%, 18.4%)
CIE-LABlab(50.07, 52.36, 38.22)
CIE-LCHlch(50.07, 64.83, 36.12°)
OKLaboklab(58.96% 0.1505 0.0864)
OKLCHoklch(58.96% 0.173 29.9)
XYZxyz(29.1366, 18.4746, 5.9018)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04939 #39C0D0
analogous
#D03974 #D04939 #D09539
triadic
#D04939 #39D049 #4939D0
tetradic
#D04939 #74D039 #39C0D0 #9539D0
square
#D04939 #74D039 #39C0D0 #9539D0
split-complementary
#D04939 #39D095 #3974D0
monochromatic
#73251B #A53427 #D04939 #DC766A #E7A49C

Accessibility & contrast

On white

4.47
#D04939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#D04939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04939
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04939#FFFFFF#000000##000000
##D049391.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6436
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#E42546
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d04939;
/* rgb */ color: rgb(208, 73, 57);
/* oklch */ color: oklch(59.0% 0.173 29.9);
Tailwind
colors: {
  custom: {
    50: '#e68270',
    500: '#d04939',
    950: '#000000',
  },
}
SCSS
$custom: #d04939;
$custom-light: #e68270;
$custom-dark: #000000;
JSON
{
  "hex": "#d04939",
  "rgb": {
    "r": 208,
    "g": 73,
    "b": 57
  },
  "hsl": {
    "h": 6.358,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58956,
    "c": 0.17348,
    "h": 29.9
  },
  "luminance": 0.1847
}

Semantic roles & 50–950 ramp

primary
#D04939
secondary
#91CCD3
accent
#D4E543
background
#FFF8F6
surface
#FFEFEC
border
#D7CAC7
text
#170B07
muted
#857C7A

Preview Lab

Preview with #D04939

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

Preview Lab → · Contrast checker → · Palette generator →

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