#D42773#D42773

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

Color values

HEX#D42773
RGBrgb(212, 39, 115)
HSLhsl(334, 69%, 49%)
HSVhsv(334, 82%, 83%)
CMYKcmyk(0%, 81.6%, 45.8%, 16.9%)
CIE-LABlab(47.87, 68.79, 0.74)
CIE-LCHlch(47.87, 68.79, 0.62°)
OKLaboklab(57.83% 0.2115 0.0027)
OKLCHoklch(57.83% 0.212 0.7)
XYZxyz(30.9740, 16.6902, 17.8068)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42773 #27D488
analogous
#D427C9 #D42773 #D43227
triadic
#D42773 #73D427 #2773D4
tetradic
#D42773 #C9D427 #27D488 #3227D4
square
#D42773 #C9D427 #27D488 #3227D4
split-complementary
#D42773 #27D432 #27C9D4
monochromatic
#6D143B #A01D57 #D42773 #E05894 #EA8CB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D42773#FFFFFF#000000##FFFFFF
##D427731.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)
#535D75
Deuteranopia (green-blind)
#817D6F
Tritanopia (blue-blind)
#E6004A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d42773;
/* rgb */ color: rgb(212, 39, 115);
/* oklch */ color: oklch(57.8% 0.212 0.7);
Tailwind
colors: {
  custom: {
    50: '#e8759b',
    500: '#d42773',
    950: '#000000',
  },
}
SCSS
$custom: #d42773;
$custom-light: #e8759b;
$custom-dark: #000000;
JSON
{
  "hex": "#d42773",
  "rgb": {
    "r": 212,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 333.642,
    "s": 68.924,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.21153,
    "h": 0.7
  },
  "luminance": 0.16686
}

Semantic roles & 50–950 ramp

primary
#D42773
secondary
#83D4B0
accent
#EC9F3C
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D42773

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

Preview Lab → · Contrast checker → · Palette generator →

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