#D54097#D54097

#D54097 is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.2% C 0.203 H 348.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#D54097
RGBrgb(213, 64, 151)
HSLhsl(325, 64%, 54%)
HSVhsv(325, 70%, 84%)
CMYKcmyk(0%, 70%, 29.1%, 16.5%)
CIE-LABlab(51.89, 65.26, -14.94)
CIE-LCHlch(51.89, 66.95, 347.10°)
OKLaboklab(61.21% 0.1987 -0.0392)
OKLCHoklch(61.21% 0.203 348.8)
XYZxyz(34.8616, 20.0511, 31.3065)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54097 #40D57E
analogous
#C840D5 #D54097 #D5404D
triadic
#D54097 #97D540 #4097D5
tetradic
#D54097 #D5C840 #40D57E #404DD5
square
#D54097 #D5C840 #40D57E #404DD5
split-complementary
#D54097 #4DD540 #40D5C8
monochromatic
#7F1C56 #B12777 #D54097 #E072B2 #EBA4CE

Accessibility & contrast

On white

4.19
#D54097 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#D54097 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54097
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54097#FFFFFF#000000##000000
##D540971.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#556B99
Deuteranopia (green-blind)
#818594
Tritanopia (blue-blind)
#E43966
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54097;
/* rgb */ color: rgb(213, 64, 151);
/* oklch */ color: oklch(61.2% 0.203 348.8);
Tailwind
colors: {
  custom: {
    50: '#e680b5',
    500: '#d54097',
    950: '#000000',
  },
}
SCSS
$custom: #d54097;
$custom-light: #e680b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d54097",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 324.966,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61205,
    "c": 0.20253,
    "h": 348.8
  },
  "luminance": 0.20047
}

Semantic roles & 50–950 ramp

primary
#D54097
secondary
#99D8B3
accent
#E78641
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#170B11
muted
#857C80

Preview Lab

Preview with #D54097

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

Preview Lab → · Contrast checker → · Palette generator →

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