#D8474E#D8474E

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

Color values

HEX#D8474E
RGBrgb(216, 71, 78)
HSLhsl(357, 65%, 56%)
HSVhsv(357, 67%, 85%)
CMYKcmyk(0%, 67.1%, 63.9%, 15.3%)
CIE-LABlab(51.45, 56.92, 28.16)
CIE-LCHlch(51.45, 63.50, 26.32°)
OKLaboklab(60.35% 0.168 0.0671)
OKLCHoklch(60.35% 0.181 21.8)
XYZxyz(31.9505, 19.6600, 9.3186)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8474E #47D8D1
analogous
#D84797 #D8474E #D88947
triadic
#D8474E #4ED847 #474ED8
tetradic
#D8474E #97D847 #47D8D1 #8947D8
square
#D8474E #97D847 #47D8D1 #8947D8
split-complementary
#D8474E #47D889 #4797D8
monochromatic
#881D22 #BA272F #D8474E #E3797F #EDACAF

Accessibility & contrast

On white

4.26
#D8474E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#D8474E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8474E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8474E#FFFFFF#000000##000000
##D8474E1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E674D
Deuteranopia (green-blind)
#92864A
Tritanopia (blue-blind)
#ED224B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d8474e;
/* rgb */ color: rgb(216, 71, 78);
/* oklch */ color: oklch(60.3% 0.181 21.8);
Tailwind
colors: {
  custom: {
    50: '#eb827f',
    500: '#d8474e',
    950: '#000000',
  },
}
SCSS
$custom: #d8474e;
$custom-light: #eb827f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8474e",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 78
  },
  "hsl": {
    "h": 357.103,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60348,
    "c": 0.18093,
    "h": 21.8
  },
  "luminance": 0.19655
}

Semantic roles & 50–950 ramp

primary
#D8474E
secondary
#A0DBD8
accent
#E8E040
background
#FFF8F7
surface
#FFEFEE
border
#D7CAC9
text
#180B0A
muted
#867C7C

Preview Lab

Preview with #D8474E

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

Preview Lab → · Contrast checker → · Palette generator →

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