#D8427D#D8427D

#D8427D is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.0% C 0.192 H 0.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D8427D
RGBrgb(216, 66, 125)
HSLhsl(336, 66%, 55%)
HSVhsv(336, 69%, 85%)
CMYKcmyk(0%, 69.4%, 42.1%, 15.3%)
CIE-LABlab(51.81, 62.53, 0.52)
CIE-LCHlch(51.81, 62.53, 0.48°)
OKLaboklab(60.96% 0.1916 0.0021)
OKLCHoklch(60.96% 0.192 0.6)
XYZxyz(33.9712, 19.9803, 21.4657)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8427D #42D89D
analogous
#D842C8 #D8427D #D85242
triadic
#D8427D #7DD842 #427DD8
tetradic
#D8427D #C8D842 #42D89D #5242D8
square
#D8427D #C8D842 #42D89D #5242D8
split-complementary
#D8427D #42D852 #42C8D8
monochromatic
#841B45 #B7265F #D8427D #E275A0 #EDA7C3

Accessibility & contrast

On white

4.20
#D8427D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D8427D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8427D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8427D#FFFFFF#000000##000000
##D8427D1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697F
Deuteranopia (green-blind)
#8A867A
Tritanopia (blue-blind)
#EA2E5A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d8427d;
/* rgb */ color: rgb(216, 66, 125);
/* oklch */ color: oklch(61.0% 0.192 0.6);
Tailwind
colors: {
  custom: {
    50: '#e981a2',
    500: '#d8427d',
    950: '#000000',
  },
}
SCSS
$custom: #d8427d;
$custom-light: #e981a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d8427d",
  "rgb": {
    "r": 216,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 336.4,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60963,
    "c": 0.19159,
    "h": 0.6
  },
  "luminance": 0.19976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8427D

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

Preview Lab → · Contrast checker → · Palette generator →

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