#D5474C#D5474C

#D5474C is a mid, vivid red. Relative luminance 0.192; OKLCH L 59.8% C 0.178 H 22.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#D5474C
RGBrgb(213, 71, 76)
HSLhsl(358, 63%, 56%)
HSVhsv(358, 67%, 84%)
CMYKcmyk(0%, 66.7%, 64.3%, 16.5%)
CIE-LABlab(50.90, 55.84, 28.52)
CIE-LCHlch(50.90, 62.70, 27.06°)
OKLaboklab(59.83% 0.1646 0.0678)
OKLCHoklch(59.83% 0.178 22.4)
XYZxyz(31.0015, 19.1788, 8.9055)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5474C #47D5D0
analogous
#D54793 #D5474C #D58947
triadic
#D5474C #4CD547 #474CD5
tetradic
#D5474C #93D547 #47D5D0 #8947D5
square
#D5474C #93D547 #47D5D0 #8947D5
split-complementary
#D5474C #47D589 #4793D5
monochromatic
#841E22 #B5292E #D5474C #E0797C #ECABAD

Accessibility & contrast

On white

4.34
#D5474C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#D5474C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5474C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5474C#FFFFFF#000000##000000
##D5474C1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D664B
Deuteranopia (green-blind)
#918448
Tritanopia (blue-blind)
#E9234A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d5474c;
/* rgb */ color: rgb(213, 71, 76);
/* oklch */ color: oklch(59.8% 0.178 22.4);
Tailwind
colors: {
  custom: {
    50: '#e9827e',
    500: '#d5474c',
    950: '#000000',
  },
}
SCSS
$custom: #d5474c;
$custom-light: #e9827e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5474c",
  "rgb": {
    "r": 213,
    "g": 71,
    "b": 76
  },
  "hsl": {
    "h": 357.887,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59825,
    "c": 0.17797,
    "h": 22.4
  },
  "luminance": 0.19174
}

Semantic roles & 50–950 ramp

primary
#D5474C
secondary
#9ED9D7
accent
#E6E042
background
#FFF8F7
surface
#FFEFEE
border
#D7CAC9
text
#170B09
muted
#857C7B

Preview Lab

Preview with #D5474C

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

Preview Lab → · Contrast checker → · Palette generator →

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