#D54C7E#D54C7E

#D54C7E is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.177 H 1.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D54C7E
RGBrgb(213, 76, 126)
HSLhsl(338, 62%, 57%)
HSVhsv(338, 64%, 84%)
CMYKcmyk(0%, 64.3%, 40.8%, 16.5%)
CIE-LABlab(52.76, 57.84, 1.23)
CIE-LCHlch(52.76, 57.86, 1.22°)
OKLaboklab(61.58% 0.1768 0.0039)
OKLCHoklch(61.58% 0.177 1.3)
XYZxyz(33.7932, 20.8254, 21.9747)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54C7E #4CD5A3
analogous
#D54CC3 #D54C7E #D55F4C
triadic
#D54C7E #7ED54C #4C7ED5
tetradic
#D54C7E #C3D54C #4CD5A3 #5F4CD5
square
#D54C7E #C3D54C #4CD5A3 #5F4CD5
split-complementary
#D54C7E #4CD55F #4CC3D5
monochromatic
#872045 #B92B5F #D54C7E #E17EA2 #ECAFC5

Accessibility & contrast

On white

4.07
#D54C7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#D54C7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54C7E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54C7E#FFFFFF#000000##000000
##D54C7E1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7F
Deuteranopia (green-blind)
#8B887B
Tritanopia (blue-blind)
#E63C60
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d54c7e;
/* rgb */ color: rgb(213, 76, 126);
/* oklch */ color: oklch(61.6% 0.177 1.3);
Tailwind
colors: {
  custom: {
    50: '#e786a3',
    500: '#d54c7e',
    950: '#000000',
  },
}
SCSS
$custom: #d54c7e;
$custom-light: #e786a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d54c7e",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 126
  },
  "hsl": {
    "h": 338.102,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.17688,
    "h": 1.3
  },
  "luminance": 0.20821
}

Semantic roles & 50–950 ramp

primary
#D54C7E
secondary
#A2DAC6
accent
#E5AA43
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D54C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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