#D5474B#D5474B

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

Color values

HEX#D5474B
RGBrgb(213, 71, 75)
HSLhsl(358, 63%, 56%)
HSVhsv(358, 67%, 84%)
CMYKcmyk(0%, 66.7%, 64.8%, 16.5%)
CIE-LABlab(50.88, 55.78, 29.09)
CIE-LCHlch(50.88, 62.91, 27.54°)
OKLaboklab(59.81% 0.1642 0.0689)
OKLCHoklch(59.81% 0.178 22.8)
XYZxyz(30.9670, 19.1650, 8.7238)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5474B #47D5D1
analogous
#D54792 #D5474B #D58A47
triadic
#D5474B #4BD547 #474BD5
tetradic
#D5474B #92D547 #47D5D1 #8A47D5
square
#D5474B #92D547 #47D5D1 #8A47D5
split-complementary
#D5474B #47D58A #4792D5
monochromatic
#841E21 #B5292D #D5474B #E0797C #ECABAC

Accessibility & contrast

On white

4.35
#D5474B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5474B#FFFFFF#000000##000000
##D5474B1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5474b;
/* rgb */ color: rgb(213, 71, 75);
/* oklch */ color: oklch(59.8% 0.178 22.8);
Tailwind
colors: {
  custom: {
    50: '#e9827d',
    500: '#d5474b',
    950: '#000000',
  },
}
SCSS
$custom: #d5474b;
$custom-light: #e9827d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5474b",
  "rgb": {
    "r": 213,
    "g": 71,
    "b": 75
  },
  "hsl": {
    "h": 358.31,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59808,
    "c": 0.17807,
    "h": 22.8
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#D5474B
secondary
#9ED9D8
accent
#E6E142
background
#FFF8F7
surface
#FFEFEE
border
#D7CAC9
text
#170B09
muted
#857C7B

Preview Lab

Preview with #D5474B

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

Preview Lab → · Contrast checker → · Palette generator →

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