#D42C63#D42C63

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

Color values

HEX#D42C63
RGBrgb(212, 44, 99)
HSLhsl(340, 66%, 50%)
HSVhsv(340, 79%, 83%)
CMYKcmyk(0%, 79.2%, 53.3%, 16.9%)
CIE-LABlab(47.88, 66.23, 10.59)
CIE-LCHlch(47.88, 67.07, 9.08°)
OKLaboklab(57.71% 0.2018 0.0271)
OKLCHoklch(57.71% 0.204 7.7)
XYZxyz(30.3071, 16.7036, 13.4302)
Luminance0.1670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42C63 #2CD49D
analogous
#D42CB7 #D42C63 #D4492C
triadic
#D42C63 #63D42C #2C63D4
tetradic
#D42C63 #B7D42C #2CD49D #492CD4
square
#D42C63 #B7D42C #2CD49D #492CD4
split-complementary
#D42C63 #2CD449 #2CB7D4
monochromatic
#6F1734 #A2214B #D42C63 #DE5F89 #E992AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D42C63#FFFFFF#000000##FFFFFF
##D42C631.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)
#5A5C64
Deuteranopia (green-blind)
#857E5F
Tritanopia (blue-blind)
#E70044
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d42c63;
/* rgb */ color: rgb(212, 44, 99);
/* oklch */ color: oklch(57.7% 0.204 7.7);
Tailwind
colors: {
  custom: {
    50: '#e8768f',
    500: '#d42c63',
    950: '#000000',
  },
}
SCSS
$custom: #d42c63;
$custom-light: #e8768f;
$custom-dark: #000000;
JSON
{
  "hex": "#d42c63",
  "rgb": {
    "r": 212,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 340.357,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57707,
    "c": 0.20365,
    "h": 7.7
  },
  "luminance": 0.16699
}

Semantic roles & 50–950 ramp

primary
#D42C63
secondary
#88D3BB
accent
#E9B13F
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #D42C63

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

Preview Lab → · Contrast checker → · Palette generator →

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