#D5427E#D5427E

#D5427E is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.5% C 0.189 H 359.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D5427E
RGBrgb(213, 66, 126)
HSLhsl(336, 64%, 55%)
HSVhsv(336, 69%, 84%)
CMYKcmyk(0%, 69%, 40.8%, 16.5%)
CIE-LABlab(51.33, 61.77, -0.85)
CIE-LCHlch(51.33, 61.78, 359.21°)
OKLaboklab(60.52% 0.1893 -0.0015)
OKLCHoklch(60.52% 0.189 359.5)
XYZxyz(33.1570, 19.5530, 21.7627)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5427E #42D599
analogous
#D542C8 #D5427E #D55042
triadic
#D5427E #7ED542 #427ED5
tetradic
#D5427E #C8D542 #42D599 #5042D5
square
#D5427E #C8D542 #42D599 #5042D5
split-complementary
#D5427E #42D550 #42C8D5
monochromatic
#801C45 #B22860 #D5427E #E074A0 #EBA6C2

Accessibility & contrast

On white

4.28
#D5427E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#D5427E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5427E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5427E#FFFFFF#000000##000000
##D5427E1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#606880
Deuteranopia (green-blind)
#87857B
Tritanopia (blue-blind)
#E6305B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d5427e;
/* rgb */ color: rgb(213, 66, 126);
/* oklch */ color: oklch(60.5% 0.189 359.5);
Tailwind
colors: {
  custom: {
    50: '#e781a3',
    500: '#d5427e',
    950: '#000000',
  },
}
SCSS
$custom: #d5427e;
$custom-light: #e781a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d5427e",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 335.51,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60517,
    "c": 0.18929,
    "h": 359.5
  },
  "luminance": 0.19549
}

Semantic roles & 50–950 ramp

primary
#D5427E
secondary
#9AD8BF
accent
#E7A341
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D5427E

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

Preview Lab → · Contrast checker → · Palette generator →

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