#D45842#D45842

#D45842 is a mid, vivid red. Relative luminance 0.214; OKLCH L 61.6% C 0.161 H 32.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#D45842
RGBrgb(212, 88, 66)
HSLhsl(9, 63%, 55%)
HSVhsv(9, 69%, 83%)
CMYKcmyk(0%, 58.5%, 68.9%, 16.9%)
CIE-LABlab(53.36, 47.53, 37.19)
CIE-LCHlch(53.36, 60.35, 38.04°)
OKLaboklab(61.6% 0.1367 0.0856)
OKLCHoklch(61.6% 0.161 32.1)
XYZxyz(31.6276, 21.3740, 7.6133)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45842 #42BED4
analogous
#D44275 #D45842 #D4A142
triadic
#D45842 #42D458 #5842D4
tetradic
#D45842 #75D442 #42BED4 #A142D4
square
#D45842 #75D442 #42BED4 #A142D4
split-complementary
#D45842 #42D4A1 #4275D4
monochromatic
#7F2C1D #B13D28 #D45842 #DF8474 #EBB0A6

Accessibility & contrast

On white

3.98
#D45842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#D45842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45842
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45842#FFFFFF#000000##000000
##D458421.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#796F3F
Deuteranopia (green-blind)
#988A3F
Tritanopia (blue-blind)
#E83D53
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d45842;
/* rgb */ color: rgb(212, 88, 66);
/* oklch */ color: oklch(61.6% 0.161 32.1);
Tailwind
colors: {
  custom: {
    50: '#e88b77',
    500: '#d45842',
    950: '#000000',
  },
}
SCSS
$custom: #d45842;
$custom-light: #e88b77;
$custom-dark: #000000;
JSON
{
  "hex": "#d45842",
  "rgb": {
    "r": 212,
    "g": 88,
    "b": 66
  },
  "hsl": {
    "h": 9.041,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61597,
    "c": 0.16128,
    "h": 32.1
  },
  "luminance": 0.2137
}

Semantic roles & 50–950 ramp

primary
#D45842
secondary
#9ACED8
accent
#CDE642
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #D45842

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

Preview Lab → · Contrast checker → · Palette generator →

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