#D93838#D93838

#D93838 is a mid, vivid red. Relative luminance 0.179; OKLCH L 58.7% C 0.198 H 25.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#D93838
RGBrgb(217, 56, 56)
HSLhsl(0, 68%, 54%)
HSVhsv(0, 74%, 85%)
CMYKcmyk(0%, 74.2%, 74.2%, 14.9%)
CIE-LABlab(49.34, 61.60, 38.40)
CIE-LCHlch(49.34, 72.59, 31.94°)
OKLaboklab(58.7% 0.1783 0.086)
OKLCHoklch(58.7% 0.198 25.8)
XYZxyz(30.7468, 17.8704, 5.5710)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D93838 #38D9D9
analogous
#D93888 #D93838 #D98838
triadic
#D93838 #38D938 #3838D9
tetradic
#D93838 #88D938 #38D9D9 #8838D9
square
#D93838 #88D938 #38D9D9 #8838D9
split-complementary
#D93838 #38D988 #3888D9
monochromatic
#7E1818 #B22222 #D93838 #E36B6B #ED9F9F

Accessibility & contrast

On white

4.59
#D93838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#D93838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D93838
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D93838#FFFFFF#000000##FFFFFF
##D938381.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F36
Deuteranopia (green-blind)
#908232
Tritanopia (blue-blind)
#EF003A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d93838;
/* rgb */ color: rgb(217, 56, 56);
/* oklch */ color: oklch(58.7% 0.198 25.8);
Tailwind
colors: {
  custom: {
    50: '#ee7b6f',
    500: '#d93838',
    950: '#000000',
  },
}
SCSS
$custom: #d93838;
$custom-light: #ee7b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#d93838",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 56
  },
  "hsl": {
    "h": 0,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58704,
    "c": 0.19793,
    "h": 25.8
  },
  "luminance": 0.17866
}

Semantic roles & 50–950 ramp

primary
#D93838
secondary
#94D9D9
accent
#EBEB3D
background
#FFF7F6
surface
#FFEEEC
border
#D7C9C7
text
#180A07
muted
#867C7A

Preview Lab

Preview with #D93838

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

Preview Lab → · Contrast checker → · Palette generator →

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