#D12C77#D12C77

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

Color values

HEX#D12C77
RGBrgb(209, 44, 119)
HSLhsl(333, 65%, 50%)
HSVhsv(333, 79%, 82%)
CMYKcmyk(0%, 78.9%, 43.1%, 18%)
CIE-LABlab(47.87, 67.11, -1.77)
CIE-LCHlch(47.87, 67.14, 358.49°)
OKLaboklab(57.77% 0.2064 -0.0038)
OKLCHoklch(57.77% 0.206 358.9)
XYZxyz(30.5273, 16.6926, 19.0637)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12C77 #2CD186
analogous
#D12CCA #D12C77 #D1332C
triadic
#D12C77 #77D12C #2C77D1
tetradic
#D12C77 #CAD12C #2CD186 #332CD1
square
#D12C77 #CAD12C #2CD186 #332CD1
split-complementary
#D12C77 #2CD133 #2CCAD1
monochromatic
#6C173D #9E215A #D12C77 #DD5D97 #E890B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D12C77#FFFFFF#000000##FFFFFF
##D12C771.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)
#535E79
Deuteranopia (green-blind)
#7F7D73
Tritanopia (blue-blind)
#E3024E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d12c77;
/* rgb */ color: rgb(209, 44, 119);
/* oklch */ color: oklch(57.8% 0.206 358.9);
Tailwind
colors: {
  custom: {
    50: '#e5779e',
    500: '#d12c77',
    950: '#000000',
  },
}
SCSS
$custom: #d12c77;
$custom-light: #e5779e;
$custom-dark: #000000;
JSON
{
  "hex": "#d12c77",
  "rgb": {
    "r": 209,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 332.727,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57774,
    "c": 0.20644,
    "h": 358.9
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#D12C77
secondary
#87D2B0
accent
#E89C40
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D12C77

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

Preview Lab → · Contrast checker → · Palette generator →

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