#D54A6C#D54A6C

#D54A6C is a mid, vivid red. Relative luminance 0.201; OKLCH L 60.8% C 0.175 H 9.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D54A6C
RGBrgb(213, 74, 108)
HSLhsl(345, 62%, 56%)
HSVhsv(345, 65%, 84%)
CMYKcmyk(0%, 65.3%, 49.3%, 16.5%)
CIE-LABlab(51.98, 56.95, 10.90)
CIE-LCHlch(51.98, 57.99, 10.84°)
OKLaboklab(60.85% 0.173 0.0281)
OKLCHoklch(60.85% 0.175 9.2)
XYZxyz(32.5988, 20.1306, 16.3534)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A6C #4AD5B3
analogous
#D54AB2 #D54A6C #D56E4A
triadic
#D54A6C #6CD54A #4A6CD5
tetradic
#D54A6C #B2D54A #4AD5B3 #6E4AD5
square
#D54A6C #B2D54A #4AD5B3 #6E4AD5
split-complementary
#D54A6C #4AD56E #4AB2D5
monochromatic
#861F38 #B72B4D #D54A6C #E17C94 #ECADBD

Accessibility & contrast

On white

4.18
#D54A6C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D54A6C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54A6C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54A6C#FFFFFF#000000##000000
##D54A6C1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#696A6D
Deuteranopia (green-blind)
#8E8669
Tritanopia (blue-blind)
#E83357
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54a6c;
/* rgb */ color: rgb(213, 74, 108);
/* oklch */ color: oklch(60.8% 0.175 9.2);
Tailwind
colors: {
  custom: {
    50: '#e78495',
    500: '#d54a6c',
    950: '#000000',
  },
}
SCSS
$custom: #d54a6c;
$custom-light: #e78495;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a6c",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 108
  },
  "hsl": {
    "h": 345.324,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.17526,
    "h": 9.2
  },
  "luminance": 0.20126
}

Semantic roles & 50–950 ramp

primary
#D54A6C
secondary
#A1DACC
accent
#E5BE42
background
#FEF8F9
surface
#FDF0F1
border
#D5CBCB
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D54A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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