#D42E71#D42E71

#D42E71 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.2% C 0.205 H 2.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#D42E71
RGBrgb(212, 46, 113)
HSLhsl(336, 66%, 51%)
HSVhsv(336, 78%, 83%)
CMYKcmyk(0%, 78.3%, 46.7%, 16.9%)
CIE-LABlab(48.45, 66.80, 2.81)
CIE-LCHlch(48.45, 66.86, 2.41°)
OKLaboklab(58.24% 0.205 0.0079)
OKLCHoklch(58.24% 0.205 2.2)
XYZxyz(31.1116, 17.1475, 17.2911)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42E71 #2ED491
analogous
#D42EC4 #D42E71 #D43E2E
triadic
#D42E71 #71D42E #2E71D4
tetradic
#D42E71 #C4D42E #2ED491 #3E2ED4
square
#D42E71 #C4D42E #2ED491 #3E2ED4
split-complementary
#D42E71 #2ED43E #2EC4D4
monochromatic
#70173B #A32256 #D42E71 #DE6193 #E994B6

Accessibility & contrast

On white

4.74
#D42E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#D42E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42E71
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42E71#FFFFFF#000000##FFFFFF
##D42E711.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575F72
Deuteranopia (green-blind)
#837F6D
Tritanopia (blue-blind)
#E6004C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d42e71;
/* rgb */ color: rgb(212, 46, 113);
/* oklch */ color: oklch(58.2% 0.205 2.2);
Tailwind
colors: {
  custom: {
    50: '#e77899',
    500: '#d42e71',
    950: '#000000',
  },
}
SCSS
$custom: #d42e71;
$custom-light: #e77899;
$custom-dark: #000000;
JSON
{
  "hex": "#d42e71",
  "rgb": {
    "r": 212,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 335.783,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58239,
    "c": 0.20516,
    "h": 2.2
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#D42E71
secondary
#8AD4B6
accent
#E9A43F
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D42E71

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

Preview Lab → · Contrast checker → · Palette generator →

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