#D45240#D45240

#D45240 is a mid, vivid red. Relative luminance 0.204; OKLCH L 60.8% C 0.168 H 30.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D45240
RGBrgb(212, 82, 64)
HSLhsl(7, 63%, 54%)
HSVhsv(7, 70%, 83%)
CMYKcmyk(0%, 61.3%, 69.8%, 16.9%)
CIE-LABlab(52.29, 50.17, 37.06)
CIE-LCHlch(52.29, 62.37, 36.45°)
OKLaboklab(60.79% 0.1445 0.085)
OKLCHoklch(60.79% 0.168 30.5)
XYZxyz(31.0973, 20.4061, 7.1507)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45240 #40C2D4
analogous
#D44078 #D45240 #D49C40
triadic
#D45240 #40D452 #5240D4
tetradic
#D45240 #78D440 #40C2D4 #9C40D4
square
#D45240 #78D440 #40C2D4 #9C40D4
split-complementary
#D45240 #40D49C #4078D4
monochromatic
#7D281C #AF3827 #D45240 #DF7F72 #EAACA4

Accessibility & contrast

On white

4.13
#D45240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D45240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45240
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45240#FFFFFF#000000##000000
##D452401.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#756B3D
Deuteranopia (green-blind)
#96873C
Tritanopia (blue-blind)
#E9344E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d45240;
/* rgb */ color: rgb(212, 82, 64);
/* oklch */ color: oklch(60.8% 0.168 30.5);
Tailwind
colors: {
  custom: {
    50: '#e98875',
    500: '#d45240',
    950: '#000000',
  },
}
SCSS
$custom: #d45240;
$custom-light: #e98875;
$custom-dark: #000000;
JSON
{
  "hex": "#d45240",
  "rgb": {
    "r": 212,
    "g": 82,
    "b": 64
  },
  "hsl": {
    "h": 7.297,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60787,
    "c": 0.16765,
    "h": 30.5
  },
  "luminance": 0.20402
}

Semantic roles & 50–950 ramp

primary
#D45240
secondary
#98D0D7
accent
#D2E642
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #D45240

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

Preview Lab → · Contrast checker → · Palette generator →

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