#D2427C#D2427C

#D2427C is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.0% C 0.186 H 359.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D2427C
RGBrgb(210, 66, 124)
HSLhsl(336, 62%, 54%)
HSVhsv(336, 69%, 82%)
CMYKcmyk(0%, 68.6%, 41%, 17.6%)
CIE-LABlab(50.75, 60.71, -0.55)
CIE-LCHlch(50.75, 60.71, 359.48°)
OKLaboklab(59.98% 0.186 -0.0007)
OKLCHoklch(59.98% 0.186 359.8)
XYZxyz(32.1669, 19.0572, 21.0494)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2427C #42D298
analogous
#D242C4 #D2427C #D25042
triadic
#D2427C #7CD242 #427CD2
tetradic
#D2427C #C4D242 #42D298 #5042D2
square
#D2427C #C4D242 #42D298 #5042D2
split-complementary
#D2427C #42D250 #42C4D2
monochromatic
#7C1E44 #AD295F #D2427C #DE739E #EAA5C1

Accessibility & contrast

On white

4.37
#D2427C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#D2427C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2427C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2427C#FFFFFF#000000##000000
##D2427C1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F677E
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#E3305A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d2427c;
/* rgb */ color: rgb(210, 66, 124);
/* oklch */ color: oklch(60.0% 0.186 359.8);
Tailwind
colors: {
  custom: {
    50: '#e580a1',
    500: '#d2427c',
    950: '#000000',
  },
}
SCSS
$custom: #d2427c;
$custom-light: #e580a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2427c",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 335.833,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59977,
    "c": 0.18597,
    "h": 359.8
  },
  "luminance": 0.19053
}

Semantic roles & 50–950 ramp

primary
#D2427C
secondary
#99D7BE
accent
#E5A443
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D2427C

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

Preview Lab → · Contrast checker → · Palette generator →

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