#D42D5C#D42D5C

#D42D5C is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.6% C 0.202 H 10.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#D42D5C
RGBrgb(212, 45, 92)
HSLhsl(343, 66%, 50%)
HSVhsv(343, 79%, 83%)
CMYKcmyk(0%, 78.8%, 56.6%, 16.9%)
CIE-LABlab(47.82, 65.45, 14.79)
CIE-LCHlch(47.82, 67.10, 12.74°)
OKLaboklab(57.6% 0.1983 0.0371)
OKLCHoklch(57.6% 0.202 10.6)
XYZxyz(30.0245, 16.6509, 11.7561)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42D5C #2DD4A5
analogous
#D42DAF #D42D5C #D4522D
triadic
#D42D5C #5CD42D #2D5CD4
tetradic
#D42D5C #AFD42D #2DD4A5 #522DD4
square
#D42D5C #AFD42D #2DD4A5 #522DD4
split-complementary
#D42D5C #2DD452 #2DAFD4
monochromatic
#701730 #A32146 #D42D5C #DE6083 #E993AB

Accessibility & contrast

On white

4.85
#D42D5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#D42D5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42D5C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42D5C#FFFFFF#000000##FFFFFF
##D42D5C1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5C5D
Deuteranopia (green-blind)
#867E58
Tritanopia (blue-blind)
#E80042
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42d5c;
/* rgb */ color: rgb(212, 45, 92);
/* oklch */ color: oklch(57.6% 0.202 10.6);
Tailwind
colors: {
  custom: {
    50: '#e97789',
    500: '#d42d5c',
    950: '#000000',
  },
}
SCSS
$custom: #d42d5c;
$custom-light: #e97789;
$custom-dark: #000000;
JSON
{
  "hex": "#d42d5c",
  "rgb": {
    "r": 212,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 343.114,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57604,
    "c": 0.20178,
    "h": 10.6
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

primary
#D42D5C
secondary
#89D4BF
accent
#E9B93F
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #D42D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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