#D54A5D#D54A5D

#D54A5D is a mid, vivid red. Relative luminance 0.198; OKLCH L 60.5% C 0.174 H 16.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#D54A5D
RGBrgb(213, 74, 93)
HSLhsl(352, 62%, 56%)
HSVhsv(352, 65%, 84%)
CMYKcmyk(0%, 65.3%, 56.3%, 16.5%)
CIE-LABlab(51.65, 55.74, 19.43)
CIE-LCHlch(51.65, 59.03, 19.22°)
OKLaboklab(60.49% 0.1673 0.0482)
OKLCHoklch(60.49% 0.174 16.1)
XYZxyz(31.8680, 19.8383, 12.5048)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A5D #4AD5C2
analogous
#D54AA3 #D54A5D #D57D4A
triadic
#D54A5D #5DD54A #4A5DD5
tetradic
#D54A5D #A3D54A #4AD5C2 #7D4AD5
square
#D54A5D #A3D54A #4AD5C2 #7D4AD5
split-complementary
#D54A5D #4AD57D #4AA3D5
monochromatic
#861F2D #B72B3E #D54A5D #E17C89 #ECADB6

Accessibility & contrast

On white

4.23
#D54A5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#D54A5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54A5D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54A5D#FFFFFF#000000##000000
##D54A5D1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C695D
Deuteranopia (green-blind)
#90865A
Tritanopia (blue-blind)
#E82E52
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d54a5d;
/* rgb */ color: rgb(213, 74, 93);
/* oklch */ color: oklch(60.5% 0.174 16.1);
Tailwind
colors: {
  custom: {
    50: '#e8848a',
    500: '#d54a5d',
    950: '#000000',
  },
}
SCSS
$custom: #d54a5d;
$custom-light: #e8848a;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a5d",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 93
  },
  "hsl": {
    "h": 351.799,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60491,
    "c": 0.17404,
    "h": 16.1
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#D54A5D
secondary
#A1DAD2
accent
#E5CF42
background
#FFF8F8
surface
#FEF0F0
border
#D6CBCB
text
#170B0B
muted
#857C7C

Preview Lab

Preview with #D54A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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