#D8474A#D8474A

#D8474A is a mid, vivid red. Relative luminance 0.196; OKLCH L 60.3% C 0.181 H 23.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D8474A
RGBrgb(216, 71, 74)
HSLhsl(359, 65%, 56%)
HSVhsv(359, 67%, 85%)
CMYKcmyk(0%, 67.1%, 65.7%, 15.3%)
CIE-LABlab(51.39, 56.69, 30.42)
CIE-LCHlch(51.39, 64.34, 28.22°)
OKLaboklab(60.28% 0.1665 0.0717)
OKLCHoklch(60.28% 0.181 23.3)
XYZxyz(31.8115, 19.6044, 8.5862)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8474A #47D8D5
analogous
#D84793 #D8474A #D88D47
triadic
#D8474A #4AD847 #474AD8
tetradic
#D8474A #93D847 #47D8D5 #8D47D8
square
#D8474A #93D847 #47D8D5 #8D47D8
split-complementary
#D8474A #47D88D #4793D8
monochromatic
#881D1F #BA272B #D8474A #E3797C #EDACAD

Accessibility & contrast

On white

4.27
#D8474A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#D8474A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8474A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8474A#FFFFFF#000000##000000
##D8474A1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E6749
Deuteranopia (green-blind)
#938646
Tritanopia (blue-blind)
#ED214A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d8474a;
/* rgb */ color: rgb(216, 71, 74);
/* oklch */ color: oklch(60.3% 0.181 23.3);
Tailwind
colors: {
  custom: {
    50: '#ec827c',
    500: '#d8474a',
    950: '#000000',
  },
}
SCSS
$custom: #d8474a;
$custom-light: #ec827c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8474a",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 74
  },
  "hsl": {
    "h": 358.759,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.1813,
    "h": 23.3
  },
  "luminance": 0.196
}

Semantic roles & 50–950 ramp

primary
#D8474A
secondary
#A0DBDA
accent
#E8E540
background
#FFF8F7
surface
#FFEFEE
border
#D7CAC9
text
#180B09
muted
#867C7B

Preview Lab

Preview with #D8474A

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

Preview Lab → · Contrast checker → · Palette generator →

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