#D8427B#D8427B

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

Color values

HEX#D8427B
RGBrgb(216, 66, 123)
HSLhsl(337, 66%, 55%)
HSVhsv(337, 69%, 85%)
CMYKcmyk(0%, 69.4%, 43.1%, 15.3%)
CIE-LABlab(51.76, 62.34, 1.64)
CIE-LCHlch(51.76, 62.36, 1.51°)
OKLaboklab(60.9% 0.1909 0.005)
OKLCHoklch(60.9% 0.191 1.5)
XYZxyz(33.8448, 19.9297, 20.7996)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8427B #42D89F
analogous
#D842C6 #D8427B #D85442
triadic
#D8427B #7BD842 #427BD8
tetradic
#D8427B #C6D842 #42D89F #5442D8
square
#D8427B #C6D842 #42D89F #5442D8
split-complementary
#D8427B #42D854 #42C6D8
monochromatic
#841B43 #B7265D #D8427B #E2759E #EDA7C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8427B#FFFFFF#000000##000000
##D8427B1.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)
#62697C
Deuteranopia (green-blind)
#8A8677
Tritanopia (blue-blind)
#EA2D5A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d8427b;
/* rgb */ color: rgb(216, 66, 123);
/* oklch */ color: oklch(60.9% 0.191 1.5);
Tailwind
colors: {
  custom: {
    50: '#e981a1',
    500: '#d8427b',
    950: '#000000',
  },
}
SCSS
$custom: #d8427b;
$custom-light: #e981a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8427b",
  "rgb": {
    "r": 216,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 337.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60902,
    "c": 0.19097,
    "h": 1.5
  },
  "luminance": 0.19925
}

Semantic roles & 50–950 ramp

primary
#D8427B
secondary
#9CDAC2
accent
#E9A83F
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D8427B

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

Preview Lab → · Contrast checker → · Palette generator →

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