#D8347F#D8347F

#D8347F is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.8% C 0.207 H 358.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D8347F
RGBrgb(216, 52, 127)
HSLhsl(333, 68%, 53%)
HSVhsv(333, 76%, 85%)
CMYKcmyk(0%, 75.9%, 41.2%, 15.3%)
CIE-LABlab(50.21, 67.40, -3.04)
CIE-LCHlch(50.21, 67.46, 357.42°)
OKLaboklab(59.8% 0.2071 -0.0071)
OKLCHoklch(59.8% 0.207 358)
XYZxyz(33.3801, 18.5915, 21.9053)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8347F #34D88D
analogous
#D834D1 #D8347F #D83B34
triadic
#D8347F #7FD834 #347FD8
tetradic
#D8347F #D1D834 #34D88D #3B34D8
square
#D8347F #D1D834 #34D88D #3B34D8
split-complementary
#D8347F #34D83B #34D1D8
monochromatic
#7A1745 #AD2161 #D8347F #E2679F #EC9BC0

Accessibility & contrast

On white

4.45
#D8347F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#D8347F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8347F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8347F#FFFFFF#000000##000000
##D8347F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#586481
Deuteranopia (green-blind)
#85837B
Tritanopia (blue-blind)
#EA1955
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d8347f;
/* rgb */ color: rgb(216, 52, 127);
/* oklch */ color: oklch(59.8% 0.207 358.0);
Tailwind
colors: {
  custom: {
    50: '#ea7ba4',
    500: '#d8347f',
    950: '#000000',
  },
}
SCSS
$custom: #d8347f;
$custom-light: #ea7ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8347f",
  "rgb": {
    "r": 216,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 332.561,
    "s": 67.769,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59799,
    "c": 0.20724,
    "h": 358
  },
  "luminance": 0.18587
}

Semantic roles & 50–950 ramp

primary
#D8347F
secondary
#90D8B7
accent
#EB9B3D
background
#FFF8FA
surface
#FEEFF3
border
#D6CACD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D8347F

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

Preview Lab → · Contrast checker → · Palette generator →

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