#D34042#D34042

#D34042 is a mid, vivid red. Relative luminance 0.179; OKLCH L 58.6% C 0.184 H 24.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#D34042
RGBrgb(211, 64, 66)
HSLhsl(359, 63%, 54%)
HSVhsv(359, 70%, 83%)
CMYKcmyk(0%, 69.7%, 68.7%, 17.3%)
CIE-LABlab(49.39, 57.38, 32.44)
CIE-LCHlch(49.39, 65.91, 29.48°)
OKLaboklab(58.59% 0.1677 0.0752)
OKLCHoklch(58.59% 0.184 24.2)
XYZxyz(29.6839, 17.9134, 7.0478)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34042 #40D3D1
analogous
#D3408C #D34042 #D38840
triadic
#D34042 #42D340 #4042D3
tetradic
#D34042 #8CD340 #40D3D1 #8840D3
square
#D34042 #8CD340 #40D3D1 #8840D3
split-complementary
#D34042 #40D388 #408CD3
monochromatic
#7C1D1E #AE282A #D34042 #DE7273 #EAA3A4

Accessibility & contrast

On white

4.58
#D34042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#D34042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D34042
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34042#FFFFFF#000000##000000
##D340421.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#696141
Deuteranopia (green-blind)
#8E813D
Tritanopia (blue-blind)
#E80F42
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d34042;
/* rgb */ color: rgb(211, 64, 66);
/* oklch */ color: oklch(58.6% 0.184 24.2);
Tailwind
colors: {
  custom: {
    50: '#e97e76',
    500: '#d34042',
    950: '#000000',
  },
}
SCSS
$custom: #d34042;
$custom-light: #e97e76;
$custom-dark: #000000;
JSON
{
  "hex": "#d34042",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 359.184,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58586,
    "c": 0.1838,
    "h": 24.2
  },
  "luminance": 0.17909
}

Semantic roles & 50–950 ramp

primary
#D34042
secondary
#98D7D6
accent
#E6E342
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #D34042

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

Preview Lab → · Contrast checker → · Palette generator →

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