#D7427C#D7427C

#D7427C is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.8% C 0.190 H 0.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D7427C
RGBrgb(215, 66, 124)
HSLhsl(337, 65%, 55%)
HSVhsv(337, 69%, 84%)
CMYKcmyk(0%, 69.3%, 42.3%, 15.7%)
CIE-LABlab(51.61, 62.15, 0.81)
CIE-LCHlch(51.61, 62.15, 0.74°)
OKLaboklab(60.77% 0.1904 0.0028)
OKLCHoklch(60.77% 0.19 0.8)
XYZxyz(33.6131, 19.8029, 21.1172)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7427C #42D79D
analogous
#D742C7 #D7427C #D75242
triadic
#D7427C #7CD742 #427CD7
tetradic
#D7427C #C7D742 #42D79D #5242D7
square
#D7427C #C7D742 #42D79D #5242D7
split-complementary
#D7427C #42D752 #42C7D7
monochromatic
#831C44 #B5265E #D7427C #E2759F #ECA7C2

Accessibility & contrast

On white

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

On black

4.96
#D7427C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7427C
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7427C#FFFFFF#000000##000000
##D7427C1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697D
Deuteranopia (green-blind)
#898679
Tritanopia (blue-blind)
#E92E5A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d7427c;
/* rgb */ color: rgb(215, 66, 124);
/* oklch */ color: oklch(60.8% 0.190 0.8);
Tailwind
colors: {
  custom: {
    50: '#e981a1',
    500: '#d7427c',
    950: '#000000',
  },
}
SCSS
$custom: #d7427c;
$custom-light: #e981a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7427c",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 336.644,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.19039,
    "h": 0.8
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#D7427C
secondary
#9BDAC1
accent
#E8A740
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D7427C

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

Preview Lab → · Contrast checker → · Palette generator →

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