#D42279#D42279

#D42279 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.7% C 0.217 H 358.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D42279
RGBrgb(212, 34, 121)
HSLhsl(331, 72%, 48%)
HSVhsv(331, 84%, 83%)
CMYKcmyk(0%, 84%, 42.9%, 16.9%)
CIE-LABlab(47.66, 70.44, -3.24)
CIE-LCHlch(47.66, 70.52, 357.37°)
OKLaboklab(57.74% 0.217 -0.0076)
OKLCHoklch(57.74% 0.217 358)
XYZxyz(31.1771, 16.5258, 19.6335)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42279 #22D47D
analogous
#D422D2 #D42279 #D42422
triadic
#D42279 #79D422 #2279D4
tetradic
#D42279 #D2D422 #22D47D #2422D4
square
#D42279 #D2D422 #22D47D #2422D4
split-complementary
#D42279 #22D424 #22D2D4
monochromatic
#6B113D #9F1A5B #D42279 #E35098 #EB85B7

Accessibility & contrast

On white

4.88
#D42279 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#D42279 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42279
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42279#FFFFFF#000000##FFFFFF
##D422791.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7B
Deuteranopia (green-blind)
#7F7D75
Tritanopia (blue-blind)
#E6004C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42279;
/* rgb */ color: rgb(212, 34, 121);
/* oklch */ color: oklch(57.7% 0.217 358.0);
Tailwind
colors: {
  custom: {
    50: '#e7749f',
    500: '#d42279',
    950: '#000000',
  },
}
SCSS
$custom: #d42279;
$custom-light: #e7749f;
$custom-dark: #000000;
JSON
{
  "hex": "#d42279",
  "rgb": {
    "r": 212,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 330.674,
    "s": 72.358,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5774,
    "c": 0.21715,
    "h": 358
  },
  "luminance": 0.16522
}

Semantic roles & 50–950 ramp

primary
#D42279
secondary
#7DD5AA
accent
#EF9639
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D42279

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

Preview Lab → · Contrast checker → · Palette generator →

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