#D54974#D54974

#D54974 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.0% C 0.178 H 5.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D54974
RGBrgb(213, 73, 116)
HSLhsl(342, 63%, 56%)
HSVhsv(342, 66%, 84%)
CMYKcmyk(0%, 65.7%, 45.5%, 16.5%)
CIE-LABlab(52.04, 58.09, 6.18)
CIE-LCHlch(52.04, 58.41, 6.07°)
OKLaboklab(60.95% 0.1772 0.0164)
OKLCHoklch(60.95% 0.178 5.3)
XYZxyz(32.9780, 20.1763, 18.6774)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54974 #49D5AA
analogous
#D549BA #D54974 #D56449
triadic
#D54974 #74D549 #4974D5
tetradic
#D54974 #BAD549 #49D5AA #6449D5
square
#D54974 #BAD549 #49D5AA #6449D5
split-complementary
#D54974 #49D564 #49BAD5
monochromatic
#851F3E #B72A55 #D54974 #E07B9A #ECACC0

Accessibility & contrast

On white

4.17
#D54974 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54974#FFFFFF#000000##000000
##D549741.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#676B75
Deuteranopia (green-blind)
#8C8671
Tritanopia (blue-blind)
#E7355A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54974;
/* rgb */ color: rgb(213, 73, 116);
/* oklch */ color: oklch(61.0% 0.178 5.3);
Tailwind
colors: {
  custom: {
    50: '#e7849b',
    500: '#d54974',
    950: '#000000',
  },
}
SCSS
$custom: #d54974;
$custom-light: #e7849b;
$custom-dark: #000000;
JSON
{
  "hex": "#d54974",
  "rgb": {
    "r": 213,
    "g": 73,
    "b": 116
  },
  "hsl": {
    "h": 341.571,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6095,
    "c": 0.17798,
    "h": 5.3
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#D54974
secondary
#A0DAC8
accent
#E6B342
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D54974

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

Preview Lab → · Contrast checker → · Palette generator →

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