#D12C78#D12C78

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

Color values

HEX#D12C78
RGBrgb(209, 44, 120)
HSLhsl(332, 65%, 50%)
HSVhsv(332, 79%, 82%)
CMYKcmyk(0%, 78.9%, 42.6%, 18%)
CIE-LABlab(47.90, 67.20, -2.33)
CIE-LCHlch(47.90, 67.25, 358.01°)
OKLaboklab(57.81% 0.2067 -0.0053)
OKLCHoklch(57.81% 0.207 358.5)
XYZxyz(30.5877, 16.7168, 19.3816)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12C78 #2CD185
analogous
#D12CCA #D12C78 #D1332C
triadic
#D12C78 #78D12C #2C78D1
tetradic
#D12C78 #CAD12C #2CD185 #332CD1
square
#D12C78 #CAD12C #2CD185 #332CD1
split-complementary
#D12C78 #2CD133 #2CCAD1
monochromatic
#6C173E #9E215B #D12C78 #DD5D98 #E890B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D12C78#FFFFFF#000000##FFFFFF
##D12C781.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)
#525E7A
Deuteranopia (green-blind)
#7F7D74
Tritanopia (blue-blind)
#E3044F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d12c78;
/* rgb */ color: rgb(209, 44, 120);
/* oklch */ color: oklch(57.8% 0.207 358.5);
Tailwind
colors: {
  custom: {
    50: '#e5779e',
    500: '#d12c78',
    950: '#000000',
  },
}
SCSS
$custom: #d12c78;
$custom-light: #e5779e;
$custom-dark: #000000;
JSON
{
  "hex": "#d12c78",
  "rgb": {
    "r": 209,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 332.364,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57807,
    "c": 0.20678,
    "h": 358.5
  },
  "luminance": 0.16713
}

Semantic roles & 50–950 ramp

primary
#D12C78
secondary
#87D2AF
accent
#E89B40
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D12C78

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

Preview Lab → · Contrast checker → · Palette generator →

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