#D1342D#D1342D

#D1342D is a mid, vivid red. Relative luminance 0.162; OKLCH L 56.8% C 0.195 H 27.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D1342D
RGBrgb(209, 52, 45)
HSLhsl(3, 65%, 50%)
HSVhsv(3, 78%, 82%)
CMYKcmyk(0%, 75.1%, 78.5%, 18%)
CIE-LABlab(47.24, 60.09, 41.81)
CIE-LCHlch(47.24, 73.21, 34.83°)
OKLaboklab(56.83% 0.1722 0.0911)
OKLCHoklch(56.83% 0.195 27.9)
XYZxyz(27.9995, 16.2052, 4.1357)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1342D #2DCAD1
analogous
#D12D78 #D1342D #D1862D
triadic
#D1342D #2DD134 #342DD1
tetradic
#D1342D #78D12D #2DCAD1 #862DD1
square
#D1342D #78D12D #2DCAD1 #862DD1
split-complementary
#D1342D #2DD186 #2D78D1
monochromatic
#6C1B17 #9F2722 #D1342D #DC645F #E79591

Accessibility & contrast

On white

4.95
#D1342D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#D1342D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D1342D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1342D#FFFFFF#000000##FFFFFF
##D1342D1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2A
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#E60034
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #d1342d;
/* rgb */ color: rgb(209, 52, 45);
/* oklch */ color: oklch(56.8% 0.195 27.9);
Tailwind
colors: {
  custom: {
    50: '#e97867',
    500: '#d1342d',
    950: '#000000',
  },
}
SCSS
$custom: #d1342d;
$custom-light: #e97867;
$custom-dark: #000000;
JSON
{
  "hex": "#d1342d",
  "rgb": {
    "r": 209,
    "g": 52,
    "b": 45
  },
  "hsl": {
    "h": 2.561,
    "s": 64.567,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56834,
    "c": 0.19477,
    "h": 27.9
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#D1342D
secondary
#88CFD2
accent
#E0E840
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #D1342D

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

Preview Lab → · Contrast checker → · Palette generator →

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