#D54A5F#D54A5F

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

Color values

HEX#D54A5F
RGBrgb(213, 74, 95)
HSLhsl(351, 62%, 56%)
HSVhsv(351, 65%, 84%)
CMYKcmyk(0%, 65.3%, 55.4%, 16.5%)
CIE-LABlab(51.69, 55.90, 18.29)
CIE-LCHlch(51.69, 58.81, 18.12°)
OKLaboklab(60.54% 0.168 0.0456)
OKLCHoklch(60.54% 0.174 15.2)
XYZxyz(31.9578, 19.8742, 12.9775)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A5F #4AD5C0
analogous
#D54AA5 #D54A5F #D57B4A
triadic
#D54A5F #5FD54A #4A5FD5
tetradic
#D54A5F #A5D54A #4AD5C0 #7B4AD5
square
#D54A5F #A5D54A #4AD5C0 #7B4AD5
split-complementary
#D54A5F #4AD57B #4AA5D5
monochromatic
#861F2F #B72B40 #D54A5F #E17C8B #ECADB7

Accessibility & contrast

On white

4.22
#D54A5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54A5F#FFFFFF#000000##000000
##D54A5F1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C695F
Deuteranopia (green-blind)
#90865C
Tritanopia (blue-blind)
#E82F52
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d54a5f;
/* rgb */ color: rgb(213, 74, 95);
/* oklch */ color: oklch(60.5% 0.174 15.2);
Tailwind
colors: {
  custom: {
    50: '#e8848c',
    500: '#d54a5f',
    950: '#000000',
  },
}
SCSS
$custom: #d54a5f;
$custom-light: #e8848c;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a5f",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 95
  },
  "hsl": {
    "h": 350.935,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60535,
    "c": 0.17408,
    "h": 15.2
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

primary
#D54A5F
secondary
#A1DAD1
accent
#E5CD42
background
#FFF8F8
surface
#FEF0F0
border
#D6CBCB
text
#170B0C
muted
#857C7D

Preview Lab

Preview with #D54A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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