#D8348A#D8348A

#D8348A is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.2% C 0.212 H 353.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#D8348A
RGBrgb(216, 52, 138)
HSLhsl(329, 68%, 53%)
HSVhsv(329, 76%, 85%)
CMYKcmyk(0%, 75.9%, 36.1%, 15.3%)
CIE-LABlab(50.56, 68.50, -9.14)
CIE-LCHlch(50.56, 69.11, 352.40°)
OKLaboklab(60.18% 0.2103 -0.0233)
OKLCHoklch(60.18% 0.212 353.7)
XYZxyz(34.1365, 18.8941, 25.8891)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8348A #34D882
analogous
#D434D8 #D8348A #D83438
triadic
#D8348A #8AD834 #348AD8
tetradic
#D8348A #D8D434 #34D882 #3438D8
square
#D8348A #D8D434 #34D882 #3438D8
split-complementary
#D8348A #38D834 #34D8D4
monochromatic
#7A174B #AD216B #D8348A #E267A8 #EC9BC5

Accessibility & contrast

On white

4.40
#D8348A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#D8348A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8348A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8348A#FFFFFF#000000##000000
##D8348A1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#54658C
Deuteranopia (green-blind)
#828386
Tritanopia (blue-blind)
#E9225B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d8348a;
/* rgb */ color: rgb(216, 52, 138);
/* oklch */ color: oklch(60.2% 0.212 353.7);
Tailwind
colors: {
  custom: {
    50: '#e97bac',
    500: '#d8348a',
    950: '#000000',
  },
}
SCSS
$custom: #d8348a;
$custom-light: #e97bac;
$custom-dark: #000000;
JSON
{
  "hex": "#d8348a",
  "rgb": {
    "r": 216,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 328.537,
    "s": 67.769,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60177,
    "c": 0.2116,
    "h": 353.7
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

primary
#D8348A
secondary
#90D8B2
accent
#EB903D
background
#FFF8FA
surface
#FEEFF4
border
#D6CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D8348A

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

Preview Lab → · Contrast checker → · Palette generator →

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