#D34838#D34838

#D34838 is a mid, vivid red. Relative luminance 0.188; OKLCH L 59.3% C 0.178 H 29.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#D34838
RGBrgb(211, 72, 56)
HSLhsl(6, 64%, 52%)
HSVhsv(6, 73%, 83%)
CMYKcmyk(0%, 65.9%, 73.5%, 17.3%)
CIE-LABlab(50.42, 53.75, 39.31)
CIE-LCHlch(50.42, 66.59, 36.18°)
OKLaboklab(59.32% 0.1543 0.0884)
OKLCHoklch(59.32% 0.178 29.8)
XYZxyz(29.8984, 18.7735, 5.7899)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34838 #38C3D3
analogous
#D33875 #D34838 #D39638
triadic
#D34838 #38D348 #4838D3
tetradic
#D34838 #75D338 #38C3D3 #9638D3
square
#D34838 #75D338 #38C3D3 #9638D3
split-complementary
#D34838 #38D396 #3875D3
monochromatic
#76241A #A93325 #D34838 #DE766A #E9A49C

Accessibility & contrast

On white

4.42
#D34838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#D34838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D34838
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34838#FFFFFF#000000##000000
##D348381.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6535
Deuteranopia (green-blind)
#928333
Tritanopia (blue-blind)
#E82145
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d34838;
/* rgb */ color: rgb(211, 72, 56);
/* oklch */ color: oklch(59.3% 0.178 29.8);
Tailwind
colors: {
  custom: {
    50: '#e9826f',
    500: '#d34838',
    950: '#000000',
  },
}
SCSS
$custom: #d34838;
$custom-light: #e9826f;
$custom-dark: #000000;
JSON
{
  "hex": "#d34838",
  "rgb": {
    "r": 211,
    "g": 72,
    "b": 56
  },
  "hsl": {
    "h": 6.194,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59316,
    "c": 0.17777,
    "h": 29.8
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

primary
#D34838
secondary
#92CED5
accent
#D6E741
background
#FFF8F6
surface
#FFEFEC
border
#D7CAC7
text
#180B07
muted
#867C7A

Preview Lab

Preview with #D34838

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

Preview Lab → · Contrast checker → · Palette generator →

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