#D45342#D45342

#D45342 is a mid, vivid red. Relative luminance 0.206; OKLCH L 60.9% C 0.166 H 30.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D45342
RGBrgb(212, 83, 66)
HSLhsl(7, 63%, 55%)
HSVhsv(7, 69%, 83%)
CMYKcmyk(0%, 60.8%, 68.9%, 16.9%)
CIE-LABlab(52.49, 49.82, 36.17)
CIE-LCHlch(52.49, 61.56, 35.98°)
OKLaboklab(60.94% 0.1438 0.0834)
OKLCHoklch(60.94% 0.166 30.1)
XYZxyz(31.2312, 20.5812, 7.4812)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45342 #42C3D4
analogous
#D4427A #D45342 #D49C42
triadic
#D45342 #42D453 #5342D4
tetradic
#D45342 #7AD442 #42C3D4 #9C42D4
square
#D45342 #7AD442 #42C3D4 #9C42D4
split-complementary
#D45342 #42D49C #427AD4
monochromatic
#7F281D #B13828 #D45342 #DF8074 #EBAEA6

Accessibility & contrast

On white

4.11
#D45342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D45342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45342
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45342#FFFFFF#000000##000000
##D453421.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#766C40
Deuteranopia (green-blind)
#96883E
Tritanopia (blue-blind)
#E83650
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d45342;
/* rgb */ color: rgb(212, 83, 66);
/* oklch */ color: oklch(60.9% 0.166 30.1);
Tailwind
colors: {
  custom: {
    50: '#e98877',
    500: '#d45342',
    950: '#000000',
  },
}
SCSS
$custom: #d45342;
$custom-light: #e98877;
$custom-dark: #000000;
JSON
{
  "hex": "#d45342",
  "rgb": {
    "r": 212,
    "g": 83,
    "b": 66
  },
  "hsl": {
    "h": 6.986,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60942,
    "c": 0.16625,
    "h": 30.1
  },
  "luminance": 0.20577
}

Semantic roles & 50–950 ramp

primary
#D45342
secondary
#9AD1D8
accent
#D3E642
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #D45342

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

Preview Lab → · Contrast checker → · Palette generator →

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