#D45A42#D45A42

#D45A42 is a mid, vivid red. Relative luminance 0.217; OKLCH L 61.9% C 0.159 H 32.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#D45A42
RGBrgb(212, 90, 66)
HSLhsl(10, 63%, 55%)
HSVhsv(10, 69%, 83%)
CMYKcmyk(0%, 57.5%, 68.9%, 16.9%)
CIE-LABlab(53.71, 46.59, 37.60)
CIE-LCHlch(53.71, 59.87, 38.91°)
OKLaboklab(61.87% 0.1338 0.0865)
OKLCHoklch(61.87% 0.159 32.9)
XYZxyz(31.7940, 21.7069, 7.6688)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45A42 #42BCD4
analogous
#D44273 #D45A42 #D4A342
triadic
#D45A42 #42D45A #5A42D4
tetradic
#D45A42 #73D442 #42BCD4 #A342D4
square
#D45A42 #73D442 #42BCD4 #A342D4
split-complementary
#D45A42 #42D4A3 #4273D4
monochromatic
#7F2D1D #B13F28 #D45A42 #DF8674 #EBB1A6

Accessibility & contrast

On white

3.93
#D45A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#D45A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45A42
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45A42#FFFFFF#000000##000000
##D45A421.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B703F
Deuteranopia (green-blind)
#998A3F
Tritanopia (blue-blind)
#E84055
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d45a42;
/* rgb */ color: rgb(212, 90, 66);
/* oklch */ color: oklch(61.9% 0.159 32.9);
Tailwind
colors: {
  custom: {
    50: '#e88c77',
    500: '#d45a42',
    950: '#000000',
  },
}
SCSS
$custom: #d45a42;
$custom-light: #e88c77;
$custom-dark: #000000;
JSON
{
  "hex": "#d45a42",
  "rgb": {
    "r": 212,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 9.863,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61868,
    "c": 0.15931,
    "h": 32.9
  },
  "luminance": 0.21703
}

Semantic roles & 50–950 ramp

primary
#D45A42
secondary
#9ACED8
accent
#CBE642
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#170C09
muted
#857D7B

Preview Lab

Preview with #D45A42

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

Preview Lab → · Contrast checker → · Palette generator →

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