#D7427B#D7427B

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

Color values

HEX#D7427B
RGBrgb(215, 66, 123)
HSLhsl(337, 65%, 55%)
HSVhsv(337, 69%, 84%)
CMYKcmyk(0%, 69.3%, 42.8%, 15.7%)
CIE-LABlab(51.59, 62.05, 1.37)
CIE-LCHlch(51.59, 62.06, 1.26°)
OKLaboklab(60.74% 0.19 0.0043)
OKLCHoklch(60.74% 0.19 1.3)
XYZxyz(33.5502, 19.7778, 20.7858)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7427B #42D79E
analogous
#D742C6 #D7427B #D75342
triadic
#D7427B #7BD742 #427BD7
tetradic
#D7427B #C6D742 #42D79E #5342D7
square
#D7427B #C6D742 #42D79E #5342D7
split-complementary
#D7427B #42D753 #42C6D7
monochromatic
#831C43 #B5265D #D7427B #E2759E #ECA7C2

Accessibility & contrast

On white

4.24
#D7427B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D7427B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7427B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7427B#FFFFFF#000000##000000
##D7427B1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697C
Deuteranopia (green-blind)
#898578
Tritanopia (blue-blind)
#E92D5A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d7427b;
/* rgb */ color: rgb(215, 66, 123);
/* oklch */ color: oklch(60.7% 0.190 1.3);
Tailwind
colors: {
  custom: {
    50: '#e981a1',
    500: '#d7427b',
    950: '#000000',
  },
}
SCSS
$custom: #d7427b;
$custom-light: #e981a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7427b",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 337.047,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60742,
    "c": 0.19009,
    "h": 1.3
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

primary
#D7427B
secondary
#9BDAC2
accent
#E8A840
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D7427B

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

Preview Lab → · Contrast checker → · Palette generator →

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