#D45142#D45142

#D45142 is a mid, vivid red. Relative luminance 0.203; OKLCH L 60.7% C 0.168 H 29.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#D45142
RGBrgb(212, 81, 66)
HSLhsl(6, 63%, 55%)
HSVhsv(6, 69%, 83%)
CMYKcmyk(0%, 61.8%, 68.9%, 16.9%)
CIE-LABlab(52.15, 50.71, 35.77)
CIE-LCHlch(52.15, 62.06, 35.20°)
OKLaboklab(60.69% 0.1466 0.0825)
OKLCHoklch(60.69% 0.168 29.4)
XYZxyz(31.0804, 20.2795, 7.4309)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45142 #42C5D4
analogous
#D4427C #D45142 #D49A42
triadic
#D45142 #42D451 #5142D4
tetradic
#D45142 #7CD442 #42C5D4 #9A42D4
square
#D45142 #7CD442 #42C5D4 #9A42D4
split-complementary
#D45142 #42D49A #427CD4
monochromatic
#7F271D #B13628 #D45142 #DF7F74 #EBADA6

Accessibility & contrast

On white

4.15
#D45142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D45142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45142
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45142#FFFFFF#000000##000000
##D451421.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d45142;
/* rgb */ color: rgb(212, 81, 66);
/* oklch */ color: oklch(60.7% 0.168 29.4);
Tailwind
colors: {
  custom: {
    50: '#e98777',
    500: '#d45142',
    950: '#000000',
  },
}
SCSS
$custom: #d45142;
$custom-light: #e98777;
$custom-dark: #000000;
JSON
{
  "hex": "#d45142",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 6.164,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.16824,
    "h": 29.4
  },
  "luminance": 0.20275
}

Semantic roles & 50–950 ramp

primary
#D45142
secondary
#9AD1D8
accent
#D5E642
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #D45142

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

Preview Lab → · Contrast checker → · Palette generator →

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