#D45942#D45942

#D45942 is a mid, vivid red. Relative luminance 0.215; OKLCH L 61.7% C 0.160 H 32.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#D45942
RGBrgb(212, 89, 66)
HSLhsl(9, 63%, 55%)
HSVhsv(9, 69%, 83%)
CMYKcmyk(0%, 58%, 68.9%, 16.9%)
CIE-LABlab(53.53, 47.06, 37.39)
CIE-LCHlch(53.53, 60.11, 38.47°)
OKLaboklab(61.73% 0.1352 0.0861)
OKLCHoklch(61.73% 0.16 32.5)
XYZxyz(31.7103, 21.5393, 7.6409)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45942 #42BDD4
analogous
#D44274 #D45942 #D4A242
triadic
#D45942 #42D459 #5942D4
tetradic
#D45942 #74D442 #42BDD4 #A242D4
square
#D45942 #74D442 #42BDD4 #A242D4
split-complementary
#D45942 #42D4A2 #4274D4
monochromatic
#7F2C1D #B13E28 #D45942 #DF8574 #EBB1A6

Accessibility & contrast

On white

3.96
#D45942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#D45942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45942
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45942#FFFFFF#000000##000000
##D459421.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3F
Deuteranopia (green-blind)
#988A3F
Tritanopia (blue-blind)
#E83F54
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d45942;
/* rgb */ color: rgb(212, 89, 66);
/* oklch */ color: oklch(61.7% 0.160 32.5);
Tailwind
colors: {
  custom: {
    50: '#e88c77',
    500: '#d45942',
    950: '#000000',
  },
}
SCSS
$custom: #d45942;
$custom-light: #e88c77;
$custom-dark: #000000;
JSON
{
  "hex": "#d45942",
  "rgb": {
    "r": 212,
    "g": 89,
    "b": 66
  },
  "hsl": {
    "h": 9.452,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61732,
    "c": 0.16029,
    "h": 32.5
  },
  "luminance": 0.21535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45942

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

Preview Lab → · Contrast checker → · Palette generator →

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