#D45042#D45042

#D45042 is a mid, vivid red. Relative luminance 0.201; OKLCH L 60.6% C 0.169 H 29.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D45042
RGBrgb(212, 80, 66)
HSLhsl(6, 63%, 55%)
HSVhsv(6, 69%, 83%)
CMYKcmyk(0%, 62.3%, 68.9%, 16.9%)
CIE-LABlab(51.99, 51.15, 35.58)
CIE-LCHlch(51.99, 62.31, 34.82°)
OKLaboklab(60.56% 0.148 0.0821)
OKLCHoklch(60.56% 0.169 29)
XYZxyz(31.0066, 20.1320, 7.4063)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45042 #42C6D4
analogous
#D4427D #D45042 #D49942
triadic
#D45042 #42D450 #5042D4
tetradic
#D45042 #7DD442 #42C6D4 #9942D4
square
#D45042 #7DD442 #42C6D4 #9942D4
split-complementary
#D45042 #42D499 #427DD4
monochromatic
#7F261D #B13528 #D45042 #DF7E74 #EBACA6

Accessibility & contrast

On white

4.18
#D45042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D45042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45042
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45042#FFFFFF#000000##000000
##D450421.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#746A40
Deuteranopia (green-blind)
#95873E
Tritanopia (blue-blind)
#E8314D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d45042;
/* rgb */ color: rgb(212, 80, 66);
/* oklch */ color: oklch(60.6% 0.169 29.0);
Tailwind
colors: {
  custom: {
    50: '#e98777',
    500: '#d45042',
    950: '#000000',
  },
}
SCSS
$custom: #d45042;
$custom-light: #e98777;
$custom-dark: #000000;
JSON
{
  "hex": "#d45042",
  "rgb": {
    "r": 212,
    "g": 80,
    "b": 66
  },
  "hsl": {
    "h": 5.753,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60564,
    "c": 0.16923,
    "h": 29
  },
  "luminance": 0.20128
}

Semantic roles & 50–950 ramp

primary
#D45042
secondary
#9AD2D8
accent
#D6E642
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #D45042

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

Preview Lab → · Contrast checker → · Palette generator →

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