#D45840#D45840

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

Color values

HEX#D45840
RGBrgb(212, 88, 64)
HSLhsl(10, 63%, 54%)
HSVhsv(10, 70%, 83%)
CMYKcmyk(0%, 58.5%, 69.8%, 16.9%)
CIE-LABlab(53.33, 47.43, 38.26)
CIE-LCHlch(53.33, 60.93, 38.89°)
OKLaboklab(61.57% 0.136 0.0876)
OKLCHoklch(61.57% 0.162 32.8)
XYZxyz(31.5697, 21.3509, 7.3082)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45840 #40BCD4
analogous
#D44072 #D45840 #D4A240
triadic
#D45840 #40D458 #5840D4
tetradic
#D45840 #72D440 #40BCD4 #A240D4
square
#D45840 #72D440 #40BCD4 #A240D4
split-complementary
#D45840 #40D4A2 #4072D4
monochromatic
#7D2C1C #AF3E27 #D45840 #DF8472 #EAAFA4

Accessibility & contrast

On white

3.99
#D45840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D45840#FFFFFF#000000##000000
##D458401.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d45840;
/* rgb */ color: rgb(212, 88, 64);
/* oklch */ color: oklch(61.6% 0.162 32.8);
Tailwind
colors: {
  custom: {
    50: '#e88b76',
    500: '#d45840',
    950: '#000000',
  },
}
SCSS
$custom: #d45840;
$custom-light: #e88b76;
$custom-dark: #000000;
JSON
{
  "hex": "#d45840",
  "rgb": {
    "r": 212,
    "g": 88,
    "b": 64
  },
  "hsl": {
    "h": 9.73,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6157,
    "c": 0.16176,
    "h": 32.8
  },
  "luminance": 0.21347
}

Semantic roles & 50–950 ramp

primary
#D45840
secondary
#98CDD7
accent
#CCE642
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #D45840

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

Preview Lab → · Contrast checker → · Palette generator →

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