#D45945#D45945

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

Color values

HEX#D45945
RGBrgb(212, 89, 69)
HSLhsl(8, 62%, 55%)
HSVhsv(8, 67%, 83%)
CMYKcmyk(0%, 58%, 67.5%, 16.9%)
CIE-LABlab(53.57, 47.23, 35.77)
CIE-LCHlch(53.57, 59.25, 37.14°)
OKLaboklab(61.77% 0.1363 0.083)
OKLCHoklch(61.77% 0.16 31.3)
XYZxyz(31.8010, 21.5757, 8.1190)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45945 #45C0D4
analogous
#D44578 #D45945 #D4A145
triadic
#D45945 #45D459 #5945D4
tetradic
#D45945 #78D445 #45C0D4 #A145D4
square
#D45945 #78D445 #45C0D4 #A145D4
split-complementary
#D45945 #45D4A1 #4578D4
monochromatic
#812C1E #B33C29 #D45945 #DF8577 #EBB2A8

Accessibility & contrast

On white

3.95
#D45945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D45945#FFFFFF#000000##000000
##D459451.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F42
Deuteranopia (green-blind)
#988A42
Tritanopia (blue-blind)
#E83F55
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d45945;
/* rgb */ color: rgb(212, 89, 69);
/* oklch */ color: oklch(61.8% 0.160 31.3);
Tailwind
colors: {
  custom: {
    50: '#e88c79',
    500: '#d45945',
    950: '#000000',
  },
}
SCSS
$custom: #d45945;
$custom-light: #e88c79;
$custom-dark: #000000;
JSON
{
  "hex": "#d45945",
  "rgb": {
    "r": 212,
    "g": 89,
    "b": 69
  },
  "hsl": {
    "h": 8.392,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61774,
    "c": 0.15957,
    "h": 31.3
  },
  "luminance": 0.21571
}

Semantic roles & 50–950 ramp

primary
#D45945
secondary
#9CD0D8
accent
#CFE642
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170C09
muted
#857D7B

Preview Lab

Preview with #D45945

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

Preview Lab → · Contrast checker → · Palette generator →

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