#D42772#D42772

#D42772 is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 57.8% C 0.211 H 1.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#D42772
RGBrgb(212, 39, 114)
HSLhsl(334, 69%, 49%)
HSVhsv(334, 82%, 83%)
CMYKcmyk(0%, 81.6%, 46.2%, 16.9%)
CIE-LABlab(47.84, 68.70, 1.31)
CIE-LCHlch(47.84, 68.71, 1.10°)
OKLaboklab(57.8% 0.2112 0.0041)
OKLCHoklch(57.8% 0.211 1.1)
XYZxyz(30.9168, 16.6673, 17.5054)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42772 #27D489
analogous
#D427C9 #D42772 #D43227
triadic
#D42772 #72D427 #2772D4
tetradic
#D42772 #C9D427 #27D489 #3227D4
square
#D42772 #C9D427 #27D489 #3227D4
split-complementary
#D42772 #27D432 #27C9D4
monochromatic
#6D143A #A01D56 #D42772 #E05893 #EA8CB4

Accessibility & contrast

On white

4.85
#D42772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#D42772 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42772
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42772#FFFFFF#000000##FFFFFF
##D427721.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535C74
Deuteranopia (green-blind)
#817D6E
Tritanopia (blue-blind)
#E6004A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42772;
/* rgb */ color: rgb(212, 39, 114);
/* oklch */ color: oklch(57.8% 0.211 1.1);
Tailwind
colors: {
  custom: {
    50: '#e8759a',
    500: '#d42772',
    950: '#000000',
  },
}
SCSS
$custom: #d42772;
$custom-light: #e8759a;
$custom-dark: #000000;
JSON
{
  "hex": "#d42772",
  "rgb": {
    "r": 212,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 333.988,
    "s": 68.924,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57803,
    "c": 0.21122,
    "h": 1.1
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#D42772
secondary
#83D4B1
accent
#ECA03C
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D42772

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

Preview Lab → · Contrast checker → · Palette generator →

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