#D8427C#D8427C

#D8427C is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.9% C 0.191 H 1.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#D8427C
RGBrgb(216, 66, 124)
HSLhsl(337, 66%, 55%)
HSVhsv(337, 69%, 85%)
CMYKcmyk(0%, 69.4%, 42.6%, 15.3%)
CIE-LABlab(51.79, 62.43, 1.08)
CIE-LCHlch(51.79, 62.44, 0.99°)
OKLaboklab(60.93% 0.1913 0.0035)
OKLCHoklch(60.93% 0.191 1.1)
XYZxyz(33.9077, 19.9548, 21.1310)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8427C #42D89E
analogous
#D842C7 #D8427C #D85342
triadic
#D8427C #7CD842 #427CD8
tetradic
#D8427C #C7D842 #42D89E #5342D8
square
#D8427C #C7D842 #42D89E #5342D8
split-complementary
#D8427C #42D853 #42C7D8
monochromatic
#841B44 #B7265E #D8427C #E2759F #EDA7C2

Accessibility & contrast

On white

4.21
#D8427C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#D8427C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8427C
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8427C#FFFFFF#000000##000000
##D8427C1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697D
Deuteranopia (green-blind)
#8A8678
Tritanopia (blue-blind)
#EA2D5A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d8427c;
/* rgb */ color: rgb(216, 66, 124);
/* oklch */ color: oklch(60.9% 0.191 1.1);
Tailwind
colors: {
  custom: {
    50: '#e981a1',
    500: '#d8427c',
    950: '#000000',
  },
}
SCSS
$custom: #d8427c;
$custom-light: #e981a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8427c",
  "rgb": {
    "r": 216,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 336.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60932,
    "c": 0.19128,
    "h": 1.1
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#D8427C
secondary
#9CDAC2
accent
#E9A73F
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D8427C

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

Preview Lab → · Contrast checker → · Palette generator →

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