#D42C64#D42C64

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

Color values

HEX#D42C64
RGBrgb(212, 44, 100)
HSLhsl(340, 66%, 50%)
HSVhsv(340, 79%, 83%)
CMYKcmyk(0%, 79.2%, 52.8%, 16.9%)
CIE-LABlab(47.91, 66.30, 10.01)
CIE-LCHlch(47.91, 67.05, 8.58°)
OKLaboklab(57.73% 0.2022 0.0258)
OKLCHoklch(57.73% 0.204 7.3)
XYZxyz(30.3552, 16.7229, 13.6836)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42C64 #2CD49C
analogous
#D42CB8 #D42C64 #D4482C
triadic
#D42C64 #64D42C #2C64D4
tetradic
#D42C64 #B8D42C #2CD49C #482CD4
square
#D42C64 #B8D42C #2CD49C #482CD4
split-complementary
#D42C64 #2CD448 #2CB8D4
monochromatic
#6F1734 #A2214C #D42C64 #DE5F89 #E992AF

Accessibility & contrast

On white

4.83
#D42C64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D42C64
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42C64#FFFFFF#000000##FFFFFF
##D42C641.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595C65
Deuteranopia (green-blind)
#857E60
Tritanopia (blue-blind)
#E70045
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d42c64;
/* rgb */ color: rgb(212, 44, 100);
/* oklch */ color: oklch(57.7% 0.204 7.3);
Tailwind
colors: {
  custom: {
    50: '#e8768f',
    500: '#d42c64',
    950: '#000000',
  },
}
SCSS
$custom: #d42c64;
$custom-light: #e8768f;
$custom-dark: #000000;
JSON
{
  "hex": "#d42c64",
  "rgb": {
    "r": 212,
    "g": 44,
    "b": 100
  },
  "hsl": {
    "h": 340,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57733,
    "c": 0.20382,
    "h": 7.3
  },
  "luminance": 0.16719
}

Semantic roles & 50–950 ramp

primary
#D42C64
secondary
#88D3BA
accent
#E9B03F
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #D42C64

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

Preview Lab → · Contrast checker → · Palette generator →

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