#D12C72#D12C72

#D12C72 is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.6% C 0.205 H 1.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D12C72
RGBrgb(209, 44, 114)
HSLhsl(335, 65%, 50%)
HSVhsv(335, 79%, 82%)
CMYKcmyk(0%, 78.9%, 45.5%, 18%)
CIE-LABlab(47.72, 66.66, 1.07)
CIE-LCHlch(47.72, 66.67, 0.92°)
OKLaboklab(57.62% 0.2048 0.0035)
OKLCHoklch(57.62% 0.205 1)
XYZxyz(30.2349, 16.5757, 17.5236)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12C72 #2CD18B
analogous
#D12CC5 #D12C72 #D1382C
triadic
#D12C72 #72D12C #2C72D1
tetradic
#D12C72 #C5D12C #2CD18B #382CD1
square
#D12C72 #C5D12C #2CD18B #382CD1
split-complementary
#D12C72 #2CD138 #2CC5D1
monochromatic
#6C173B #9E2156 #D12C72 #DD5D93 #E890B5

Accessibility & contrast

On white

4.87
#D12C72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#D12C72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D12C72
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12C72#FFFFFF#000000##FFFFFF
##D12C721.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545D74
Deuteranopia (green-blind)
#807D6E
Tritanopia (blue-blind)
#E3004C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d12c72;
/* rgb */ color: rgb(209, 44, 114);
/* oklch */ color: oklch(57.6% 0.205 1.0);
Tailwind
colors: {
  custom: {
    50: '#e5769a',
    500: '#d12c72',
    950: '#000000',
  },
}
SCSS
$custom: #d12c72;
$custom-light: #e5769a;
$custom-dark: #000000;
JSON
{
  "hex": "#d12c72",
  "rgb": {
    "r": 209,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 334.545,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.20482,
    "h": 1
  },
  "luminance": 0.16572
}

Semantic roles & 50–950 ramp

primary
#D12C72
secondary
#87D2B2
accent
#E8A140
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D12C72

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

Preview Lab → · Contrast checker → · Palette generator →

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