#D8474B#D8474B

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

Color values

HEX#D8474B
RGBrgb(216, 71, 75)
HSLhsl(358, 65%, 56%)
HSVhsv(358, 67%, 85%)
CMYKcmyk(0%, 67.1%, 65.3%, 15.3%)
CIE-LABlab(51.40, 56.75, 29.85)
CIE-LCHlch(51.40, 64.12, 27.75°)
OKLaboklab(60.3% 0.1669 0.0705)
OKLCHoklch(60.3% 0.181 22.9)
XYZxyz(31.8454, 19.6179, 8.7650)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8474B #47D8D4
analogous
#D84794 #D8474B #D88C47
triadic
#D8474B #4BD847 #474BD8
tetradic
#D8474B #94D847 #47D8D4 #8C47D8
square
#D8474B #94D847 #47D8D4 #8C47D8
split-complementary
#D8474B #47D88C #4794D8
monochromatic
#881D20 #BA272C #D8474B #E3797C #EDACAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8474B#FFFFFF#000000##000000
##D8474B1.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)
#6E674A
Deuteranopia (green-blind)
#938647
Tritanopia (blue-blind)
#ED214A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d8474b;
/* rgb */ color: rgb(216, 71, 75);
/* oklch */ color: oklch(60.3% 0.181 22.9);
Tailwind
colors: {
  custom: {
    50: '#ec827d',
    500: '#d8474b',
    950: '#000000',
  },
}
SCSS
$custom: #d8474b;
$custom-light: #ec827d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8474b",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 75
  },
  "hsl": {
    "h": 358.345,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60296,
    "c": 0.1812,
    "h": 22.9
  },
  "luminance": 0.19613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8474B

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

Preview Lab → · Contrast checker → · Palette generator →

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