#D42C6A#D42C6A

#D42C6A is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 57.9% C 0.205 H 4.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D42C6A
RGBrgb(212, 44, 106)
HSLhsl(338, 66%, 50%)
HSVhsv(338, 79%, 83%)
CMYKcmyk(0%, 79.2%, 50%, 16.9%)
CIE-LABlab(48.06, 66.77, 6.54)
CIE-LCHlch(48.06, 67.09, 5.60°)
OKLaboklab(57.9% 0.2044 0.0173)
OKLCHoklch(57.9% 0.205 4.8)
XYZxyz(30.6563, 16.8433, 15.2697)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42C6A #2CD496
analogous
#D42CBE #D42C6A #D4422C
triadic
#D42C6A #6AD42C #2C6AD4
tetradic
#D42C6A #BED42C #2CD496 #422CD4
square
#D42C6A #BED42C #2CD496 #422CD4
split-complementary
#D42C6A #2CD442 #2CBED4
monochromatic
#6F1737 #A22151 #D42C6A #DE5F8E #E992B2

Accessibility & contrast

On white

4.81
#D42C6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#D42C6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42C6A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42C6A#FFFFFF#000000##FFFFFF
##D42C6A1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585D6B
Deuteranopia (green-blind)
#847E66
Tritanopia (blue-blind)
#E70048
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d42c6a;
/* rgb */ color: rgb(212, 44, 106);
/* oklch */ color: oklch(57.9% 0.205 4.8);
Tailwind
colors: {
  custom: {
    50: '#e87794',
    500: '#d42c6a',
    950: '#000000',
  },
}
SCSS
$custom: #d42c6a;
$custom-light: #e87794;
$custom-dark: #000000;
JSON
{
  "hex": "#d42c6a",
  "rgb": {
    "r": 212,
    "g": 44,
    "b": 106
  },
  "hsl": {
    "h": 337.857,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57895,
    "c": 0.20508,
    "h": 4.8
  },
  "luminance": 0.16839
}

Semantic roles & 50–950 ramp

primary
#D42C6A
secondary
#88D3B8
accent
#E9AA3F
background
#FFF7F9
surface
#FEEEF1
border
#D6C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D42C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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