#D0342F#D0342F

#D0342F is a mid, vivid red. Relative luminance 0.161; OKLCH L 56.7% C 0.194 H 27.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D0342F
RGBrgb(208, 52, 47)
HSLhsl(2, 63%, 50%)
HSVhsv(2, 77%, 82%)
CMYKcmyk(0%, 75%, 77.4%, 18.4%)
CIE-LABlab(47.07, 59.86, 40.48)
CIE-LCHlch(47.07, 72.26, 34.07°)
OKLaboklab(56.68% 0.172 0.0888)
OKLCHoklch(56.68% 0.194 27.3)
XYZxyz(27.7568, 16.0755, 4.3301)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0342F #2FCBD0
analogous
#D02F7B #D0342F #D0842F
triadic
#D0342F #2FD034 #342FD0
tetradic
#D0342F #7BD02F #2FCBD0 #842FD0
square
#D0342F #7BD02F #2FCBD0 #842FD0
split-complementary
#D0342F #2FD084 #2F7BD0
monochromatic
#6C1B18 #9E2824 #D0342F #DB6561 #E79593

Accessibility & contrast

On white

4.98
#D0342F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#D0342F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D0342F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0342F#FFFFFF#000000##FFFFFF
##D0342F1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2D
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#E50035
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #d0342f;
/* rgb */ color: rgb(208, 52, 47);
/* oklch */ color: oklch(56.7% 0.194 27.3);
Tailwind
colors: {
  custom: {
    50: '#e87868',
    500: '#d0342f',
    950: '#000000',
  },
}
SCSS
$custom: #d0342f;
$custom-light: #e87868;
$custom-dark: #000000;
JSON
{
  "hex": "#d0342f",
  "rgb": {
    "r": 208,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 1.863,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.19354,
    "h": 27.3
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#D0342F
secondary
#89CFD1
accent
#E1E642
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #D0342F

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

Preview Lab → · Contrast checker → · Palette generator →

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