#D54A5C#D54A5C

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

Color values

HEX#D54A5C
RGBrgb(213, 74, 92)
HSLhsl(352, 62%, 56%)
HSVhsv(352, 65%, 84%)
CMYKcmyk(0%, 65.3%, 56.8%, 16.5%)
CIE-LABlab(51.63, 55.67, 20.00)
CIE-LCHlch(51.63, 59.15, 19.76°)
OKLaboklab(60.47% 0.1669 0.0494)
OKLCHoklch(60.47% 0.174 16.5)
XYZxyz(31.8240, 19.8207, 12.2731)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A5C #4AD5C3
analogous
#D54AA2 #D54A5C #D57E4A
triadic
#D54A5C #5CD54A #4A5CD5
tetradic
#D54A5C #A2D54A #4AD5C3 #7E4AD5
square
#D54A5C #A2D54A #4AD5C3 #7E4AD5
split-complementary
#D54A5C #4AD57E #4AA2D5
monochromatic
#861F2C #B72B3D #D54A5C #E17C89 #ECADB5

Accessibility & contrast

On white

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

On black

4.96
#D54A5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54A5C
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54A5C#FFFFFF#000000##000000
##D54A5C1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D695C
Deuteranopia (green-blind)
#908659
Tritanopia (blue-blind)
#E92E51
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d54a5c;
/* rgb */ color: rgb(213, 74, 92);
/* oklch */ color: oklch(60.5% 0.174 16.5);
Tailwind
colors: {
  custom: {
    50: '#e8848a',
    500: '#d54a5c',
    950: '#000000',
  },
}
SCSS
$custom: #d54a5c;
$custom-light: #e8848a;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a5c",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 92
  },
  "hsl": {
    "h": 352.23,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.17403,
    "h": 16.5
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#D54A5C
secondary
#A1DAD3
accent
#E5D042
background
#FFF8F8
surface
#FEF0F0
border
#D6CBCB
text
#170B0B
muted
#857C7C

Preview Lab

Preview with #D54A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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