#D42C5D#D42C5D

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

Color values

HEX#D42C5D
RGBrgb(212, 44, 93)
HSLhsl(343, 66%, 50%)
HSVhsv(343, 79%, 83%)
CMYKcmyk(0%, 79.2%, 56.1%, 16.9%)
CIE-LABlab(47.74, 65.79, 14.08)
CIE-LCHlch(47.74, 67.28, 12.08°)
OKLaboklab(57.56% 0.1996 0.0354)
OKLCHoklch(57.56% 0.203 10.1)
XYZxyz(30.0308, 16.5931, 11.9753)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42C5D #2CD4A3
analogous
#D42CB1 #D42C5D #D44F2C
triadic
#D42C5D #5DD42C #2C5DD4
tetradic
#D42C5D #B1D42C #2CD4A3 #4F2CD4
square
#D42C5D #B1D42C #2CD4A3 #4F2CD4
split-complementary
#D42C5D #2CD44F #2CB1D4
monochromatic
#6F1730 #A22147 #D42C5D #DE5F84 #E992AB

Accessibility & contrast

On white

4.86
#D42C5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#D42C5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42C5D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42C5D#FFFFFF#000000##FFFFFF
##D42C5D1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d42c5d;
/* rgb */ color: rgb(212, 44, 93);
/* oklch */ color: oklch(57.6% 0.203 10.1);
Tailwind
colors: {
  custom: {
    50: '#e9768a',
    500: '#d42c5d',
    950: '#000000',
  },
}
SCSS
$custom: #d42c5d;
$custom-light: #e9768a;
$custom-dark: #000000;
JSON
{
  "hex": "#d42c5d",
  "rgb": {
    "r": 212,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 342.5,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57557,
    "c": 0.20272,
    "h": 10.1
  },
  "luminance": 0.16589
}

Semantic roles & 50–950 ramp

primary
#D42C5D
secondary
#88D3BE
accent
#E9B73F
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #D42C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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