#D34038#D34038

#D34038 is a mid, vivid red. Relative luminance 0.178; OKLCH L 58.4% C 0.185 H 27.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#D34038
RGBrgb(211, 64, 56)
HSLhsl(3, 64%, 52%)
HSVhsv(3, 73%, 83%)
CMYKcmyk(0%, 69.7%, 73.5%, 17.3%)
CIE-LABlab(49.26, 56.91, 38.01)
CIE-LCHlch(49.26, 68.44, 33.74°)
OKLaboklab(58.45% 0.1642 0.0856)
OKLCHoklch(58.45% 0.185 27.5)
XYZxyz(29.4145, 17.8056, 5.6286)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34038 #38CBD3
analogous
#D3387D #D34038 #D38E38
triadic
#D34038 #38D340 #4038D3
tetradic
#D34038 #7DD338 #38CBD3 #8E38D3
square
#D34038 #7DD338 #38CBD3 #8E38D3
split-complementary
#D34038 #38D38E #387DD3
monochromatic
#761F1A #A92C25 #D34038 #DE706A #E9A09C

Accessibility & contrast

On white

4.61
#D34038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#D34038 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D34038
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34038#FFFFFF#000000##FFFFFF
##D340381.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6136
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#E80840
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d34038;
/* rgb */ color: rgb(211, 64, 56);
/* oklch */ color: oklch(58.4% 0.185 27.5);
Tailwind
colors: {
  custom: {
    50: '#e97e6f',
    500: '#d34038',
    950: '#000000',
  },
}
SCSS
$custom: #d34038;
$custom-light: #e97e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#d34038",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 56
  },
  "hsl": {
    "h": 3.097,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58445,
    "c": 0.18513,
    "h": 27.5
  },
  "luminance": 0.17801
}

Semantic roles & 50–950 ramp

primary
#D34038
secondary
#92D2D5
accent
#DEE741
background
#FFF8F6
surface
#FFEFEC
border
#D7CAC7
text
#180B07
muted
#867C7A

Preview Lab

Preview with #D34038

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

Preview Lab → · Contrast checker → · Palette generator →

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