#D7427E#D7427E

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

Color values

HEX#D7427E
RGBrgb(215, 66, 126)
HSLhsl(336, 65%, 55%)
HSVhsv(336, 69%, 84%)
CMYKcmyk(0%, 69.3%, 41.4%, 15.7%)
CIE-LABlab(51.67, 62.34, -0.31)
CIE-LCHlch(51.67, 62.34, 359.72°)
OKLaboklab(60.83% 0.191 -0.0001)
OKLCHoklch(60.83% 0.191 0)
XYZxyz(33.7408, 19.8540, 21.7900)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7427E #42D79B
analogous
#D742C9 #D7427E #D75042
triadic
#D7427E #7ED742 #427ED7
tetradic
#D7427E #C9D742 #42D79B #5042D7
square
#D7427E #C9D742 #42D79B #5042D7
split-complementary
#D7427E #42D750 #42C9D7
monochromatic
#831C45 #B52660 #D7427E #E275A0 #ECA7C3

Accessibility & contrast

On white

4.23
#D7427E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#D7427E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7427E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7427E#FFFFFF#000000##000000
##D7427E1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#606980
Deuteranopia (green-blind)
#89867B
Tritanopia (blue-blind)
#E92F5B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d7427e;
/* rgb */ color: rgb(215, 66, 126);
/* oklch */ color: oklch(60.8% 0.191 360.0);
Tailwind
colors: {
  custom: {
    50: '#e981a3',
    500: '#d7427e',
    950: '#000000',
  },
}
SCSS
$custom: #d7427e;
$custom-light: #e981a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d7427e",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 335.839,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60835,
    "c": 0.19103,
    "h": 360
  },
  "luminance": 0.1985
}

Semantic roles & 50–950 ramp

primary
#D7427E
secondary
#9BDAC0
accent
#E8A440
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D7427E

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

Preview Lab → · Contrast checker → · Palette generator →

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