#D42D5D#D42D5D

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

Color values

HEX#D42D5D
RGBrgb(212, 45, 93)
HSLhsl(343, 66%, 50%)
HSVhsv(343, 79%, 83%)
CMYKcmyk(0%, 78.8%, 56.1%, 16.9%)
CIE-LABlab(47.84, 65.52, 14.21)
CIE-LCHlch(47.84, 67.04, 12.24°)
OKLaboklab(57.63% 0.1987 0.0357)
OKLCHoklch(57.63% 0.202 10.2)
XYZxyz(30.0685, 16.6685, 11.9879)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42D5D #2DD4A4
analogous
#D42DB1 #D42D5D #D4502D
triadic
#D42D5D #5DD42D #2D5DD4
tetradic
#D42D5D #B1D42D #2DD4A4 #502DD4
square
#D42D5D #B1D42D #2DD4A4 #502DD4
split-complementary
#D42D5D #2DD450 #2DB1D4
monochromatic
#701730 #A32146 #D42D5D #DE6084 #E993AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D42D5D#FFFFFF#000000##FFFFFF
##D42D5D1.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)
#5B5C5E
Deuteranopia (green-blind)
#867E59
Tritanopia (blue-blind)
#E80042
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42d5d;
/* rgb */ color: rgb(212, 45, 93);
/* oklch */ color: oklch(57.6% 0.202 10.2);
Tailwind
colors: {
  custom: {
    50: '#e8778a',
    500: '#d42d5d',
    950: '#000000',
  },
}
SCSS
$custom: #d42d5d;
$custom-light: #e8778a;
$custom-dark: #000000;
JSON
{
  "hex": "#d42d5d",
  "rgb": {
    "r": 212,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 342.754,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.2019,
    "h": 10.2
  },
  "luminance": 0.16664
}

Semantic roles & 50–950 ramp

primary
#D42D5D
secondary
#89D4BE
accent
#E9B83F
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #D42D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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