#D54A7B#D54A7B

#D54A7B is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.3% C 0.179 H 2.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D54A7B
RGBrgb(213, 74, 123)
HSLhsl(339, 62%, 56%)
HSVhsv(339, 65%, 84%)
CMYKcmyk(0%, 65.3%, 42.3%, 16.5%)
CIE-LABlab(52.37, 58.36, 2.47)
CIE-LCHlch(52.37, 58.41, 2.42°)
OKLaboklab(61.26% 0.1784 0.0071)
OKLCHoklch(61.26% 0.179 2.3)
XYZxyz(33.4669, 20.4778, 20.9253)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54A7B #4AD5A4
analogous
#D54AC1 #D54A7B #D55F4A
triadic
#D54A7B #7BD54A #4A7BD5
tetradic
#D54A7B #C1D54A #4AD5A4 #5F4AD5
square
#D54A7B #C1D54A #4AD5A4 #5F4AD5
split-complementary
#D54A7B #4AD55F #4AC1D5
monochromatic
#861F43 #B72B5C #D54A7B #E17C9F #ECADC3

Accessibility & contrast

On white

4.12
#D54A7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D54A7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54A7B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54A7B#FFFFFF#000000##000000
##D54A7B1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7C
Deuteranopia (green-blind)
#8B8778
Tritanopia (blue-blind)
#E6395D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d54a7b;
/* rgb */ color: rgb(213, 74, 123);
/* oklch */ color: oklch(61.3% 0.179 2.3);
Tailwind
colors: {
  custom: {
    50: '#e785a1',
    500: '#d54a7b',
    950: '#000000',
  },
}
SCSS
$custom: #d54a7b;
$custom-light: #e785a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d54a7b",
  "rgb": {
    "r": 213,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 338.849,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61262,
    "c": 0.17854,
    "h": 2.3
  },
  "luminance": 0.20474
}

Semantic roles & 50–950 ramp

primary
#D54A7B
secondary
#A1DAC6
accent
#E5AC42
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #D54A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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