#D7342E#D7342E

#D7342E is a mid, highly saturated red. Relative luminance 0.171; OKLCH L 57.9% C 0.200 H 27.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#D7342E
RGBrgb(215, 52, 46)
HSLhsl(2, 68%, 51%)
HSVhsv(2, 79%, 84%)
CMYKcmyk(0%, 75.8%, 78.6%, 15.7%)
CIE-LABlab(48.39, 61.93, 42.81)
CIE-LCHlch(48.39, 75.29, 34.66°)
OKLaboklab(57.9% 0.1775 0.093)
OKLCHoklch(57.9% 0.2 27.7)
XYZxyz(29.7490, 17.1050, 4.3194)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7342E #2ED1D7
analogous
#D72E7C #D7342E #D7882E
triadic
#D7342E #2ED734 #342ED7
tetradic
#D7342E #7CD72E #2ED1D7 #882ED7
square
#D7342E #7CD72E #2ED1D7 #882ED7
split-complementary
#D7342E #2ED788 #2E7CD7
monochromatic
#741A16 #A82520 #D7342E #E16661 #EB9895

Accessibility & contrast

On white

4.75
#D7342E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#D7342E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D7342E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7342E#FFFFFF#000000##FFFFFF
##D7342E1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C2B
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#ED0035
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d7342e;
/* rgb */ color: rgb(215, 52, 46);
/* oklch */ color: oklch(57.9% 0.200 27.7);
Tailwind
colors: {
  custom: {
    50: '#ed7968',
    500: '#d7342e',
    950: '#000000',
  },
}
SCSS
$custom: #d7342e;
$custom-light: #ed7968;
$custom-dark: #000000;
JSON
{
  "hex": "#d7342e",
  "rgb": {
    "r": 215,
    "g": 52,
    "b": 46
  },
  "hsl": {
    "h": 2.13,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.20038,
    "h": 27.7
  },
  "luminance": 0.171
}

Semantic roles & 50–950 ramp

primary
#D7342E
secondary
#8BD3D6
accent
#E5EB3D
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #D7342E

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

Preview Lab → · Contrast checker → · Palette generator →

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