#D74838#D74838

#D74838 is a mid, vivid red. Relative luminance 0.194; OKLCH L 60.0% C 0.182 H 29.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D74838
RGBrgb(215, 72, 56)
HSLhsl(6, 67%, 53%)
HSVhsv(6, 74%, 84%)
CMYKcmyk(0%, 66.5%, 74%, 15.7%)
CIE-LABlab(51.12, 55.08, 40.28)
CIE-LCHlch(51.12, 68.24, 36.18°)
OKLaboklab(59.97% 0.158 0.0902)
OKLCHoklch(59.97% 0.182 29.7)
XYZxyz(31.0589, 19.3719, 5.8443)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74838 #38C7D7
analogous
#D73877 #D74838 #D79838
triadic
#D74838 #38D748 #4838D7
tetradic
#D74838 #77D738 #38C7D7 #9838D7
square
#D74838 #77D738 #38C7D7 #9838D7
split-complementary
#D74838 #38D798 #3877D7
monochromatic
#7C2319 #AF3123 #D74838 #E1776B #EBA69E

Accessibility & contrast

On white

4.31
#D74838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D74838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74838
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74838#FFFFFF#000000##000000
##D748381.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#716635
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#EC1E45
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d74838;
/* rgb */ color: rgb(215, 72, 56);
/* oklch */ color: oklch(60.0% 0.182 29.7);
Tailwind
colors: {
  custom: {
    50: '#ec826f',
    500: '#d74838',
    950: '#000000',
  },
}
SCSS
$custom: #d74838;
$custom-light: #ec826f;
$custom-dark: #000000;
JSON
{
  "hex": "#d74838",
  "rgb": {
    "r": 215,
    "g": 72,
    "b": 56
  },
  "hsl": {
    "h": 6.038,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5997,
    "c": 0.18194,
    "h": 29.7
  },
  "luminance": 0.19367
}

Semantic roles & 50–950 ramp

primary
#D74838
secondary
#93D1D8
accent
#D8E93E
background
#FFF8F6
surface
#FFEFEC
border
#D7CAC7
text
#180B07
muted
#867C7A

Preview Lab

Preview with #D74838

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

Preview Lab → · Contrast checker → · Palette generator →

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