#D54E6F#D54E6F

#D54E6F is a mid, vivid red. Relative luminance 0.207; OKLCH L 61.4% C 0.171 H 8.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D54E6F
RGBrgb(213, 78, 111)
HSLhsl(345, 62%, 57%)
HSVhsv(345, 63%, 84%)
CMYKcmyk(0%, 63.4%, 47.9%, 16.5%)
CIE-LABlab(52.67, 55.56, 10.07)
CIE-LCHlch(52.67, 56.46, 10.28°)
OKLaboklab(61.38% 0.1688 0.0261)
OKLCHoklch(61.38% 0.171 8.8)
XYZxyz(33.0368, 20.7467, 17.3006)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54E6F #4ED5B4
analogous
#D54EB3 #D54E6F #D5704E
triadic
#D54E6F #6FD54E #4E6FD5
tetradic
#D54E6F #B3D54E #4ED5B4 #704ED5
square
#D54E6F #B3D54E #4ED5B4 #704ED5
split-complementary
#D54E6F #4ED570 #4EB3D5
monochromatic
#88203A #BA2C4F #D54E6F #E17F97 #ECB1BF

Accessibility & contrast

On white

4.08
#D54E6F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D54E6F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54E6F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54E6F#FFFFFF#000000##000000
##D54E6F1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C6D70
Deuteranopia (green-blind)
#8F886C
Tritanopia (blue-blind)
#E73A5B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d54e6f;
/* rgb */ color: rgb(213, 78, 111);
/* oklch */ color: oklch(61.4% 0.171 8.8);
Tailwind
colors: {
  custom: {
    50: '#e78698',
    500: '#d54e6f',
    950: '#000000',
  },
}
SCSS
$custom: #d54e6f;
$custom-light: #e78698;
$custom-dark: #000000;
JSON
{
  "hex": "#d54e6f",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 111
  },
  "hsl": {
    "h": 345.333,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61381,
    "c": 0.17082,
    "h": 8.8
  },
  "luminance": 0.20743
}

Semantic roles & 50–950 ramp

primary
#D54E6F
secondary
#A4DBCD
accent
#E5BD43
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #D54E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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