#D54E5F#D54E5F

#D54E5F is a mid, vivid red. Relative luminance 0.204; OKLCH L 61.0% C 0.169 H 16.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D54E5F
RGBrgb(213, 78, 95)
HSLhsl(352, 62%, 57%)
HSVhsv(352, 63%, 84%)
CMYKcmyk(0%, 63.4%, 55.4%, 16.5%)
CIE-LABlab(52.31, 54.22, 19.13)
CIE-LCHlch(52.31, 57.49, 19.43°)
OKLaboklab(61% 0.1627 0.0475)
OKLCHoklch(61% 0.169 16.3)
XYZxyz(32.2334, 20.4253, 13.0694)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54E5F #4ED5C4
analogous
#D54EA3 #D54E5F #D5804E
triadic
#D54E5F #5FD54E #4E5FD5
tetradic
#D54E5F #A3D54E #4ED5C4 #804ED5
square
#D54E5F #A3D54E #4ED5C4 #804ED5
split-complementary
#D54E5F #4ED580 #4EA3D5
monochromatic
#88202D #BA2C3E #D54E5F #E17F8C #ECB1B8

Accessibility & contrast

On white

4.13
#D54E5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D54E5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54E5F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54E5F#FFFFFF#000000##000000
##D54E5F1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6B5F
Deuteranopia (green-blind)
#91875C
Tritanopia (blue-blind)
#E83555
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d54e5f;
/* rgb */ color: rgb(213, 78, 95);
/* oklch */ color: oklch(61.0% 0.169 16.3);
Tailwind
colors: {
  custom: {
    50: '#e8868c',
    500: '#d54e5f',
    950: '#000000',
  },
}
SCSS
$custom: #d54e5f;
$custom-light: #e8868c;
$custom-dark: #000000;
JSON
{
  "hex": "#d54e5f",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 95
  },
  "hsl": {
    "h": 352.444,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60999,
    "c": 0.16949,
    "h": 16.3
  },
  "luminance": 0.20421
}

Semantic roles & 50–950 ramp

primary
#D54E5F
secondary
#A4DBD4
accent
#E5D043
background
#FFF8F8
surface
#FEF0F0
border
#D6CBCB
text
#170C0C
muted
#857D7D

Preview Lab

Preview with #D54E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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