#D42C62#D42C62

#D42C62 is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 57.7% C 0.203 H 8.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#D42C62
RGBrgb(212, 44, 98)
HSLhsl(341, 66%, 50%)
HSVhsv(341, 79%, 83%)
CMYKcmyk(0%, 79.2%, 53.8%, 16.9%)
CIE-LABlab(47.86, 66.15, 11.17)
CIE-LCHlch(47.86, 67.09, 9.58°)
OKLaboklab(57.68% 0.2015 0.0285)
OKLCHoklch(57.68% 0.203 8.1)
XYZxyz(30.2596, 16.6846, 13.1800)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42C62 #2CD49E
analogous
#D42CB6 #D42C62 #D44A2C
triadic
#D42C62 #62D42C #2C62D4
tetradic
#D42C62 #B6D42C #2CD49E #4A2CD4
square
#D42C62 #B6D42C #2CD49E #4A2CD4
split-complementary
#D42C62 #2CD44A #2CB6D4
monochromatic
#6F1733 #A2214A #D42C62 #DE5F88 #E992AE

Accessibility & contrast

On white

4.84
#D42C62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#D42C62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42C62
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42C62#FFFFFF#000000##FFFFFF
##D42C621.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5C63
Deuteranopia (green-blind)
#857E5E
Tritanopia (blue-blind)
#E70044
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d42c62;
/* rgb */ color: rgb(212, 44, 98);
/* oklch */ color: oklch(57.7% 0.203 8.1);
Tailwind
colors: {
  custom: {
    50: '#e8768e',
    500: '#d42c62',
    950: '#000000',
  },
}
SCSS
$custom: #d42c62;
$custom-light: #e8768e;
$custom-dark: #000000;
JSON
{
  "hex": "#d42c62",
  "rgb": {
    "r": 212,
    "g": 44,
    "b": 98
  },
  "hsl": {
    "h": 340.714,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57681,
    "c": 0.20347,
    "h": 8.1
  },
  "luminance": 0.1668
}

Semantic roles & 50–950 ramp

primary
#D42C62
secondary
#88D3BB
accent
#E9B23F
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #D42C62

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

Preview Lab → · Contrast checker → · Palette generator →

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