#D12C73#D12C73

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

Color values

HEX#D12C73
RGBrgb(209, 44, 115)
HSLhsl(334, 65%, 50%)
HSVhsv(334, 79%, 82%)
CMYKcmyk(0%, 78.9%, 45%, 18%)
CIE-LABlab(47.75, 66.75, 0.51)
CIE-LCHlch(47.75, 66.75, 0.43°)
OKLaboklab(57.65% 0.2051 0.002)
OKLCHoklch(57.65% 0.205 0.6)
XYZxyz(30.2922, 16.5986, 17.8250)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12C73 #2CD18A
analogous
#D12CC5 #D12C73 #D1382C
triadic
#D12C73 #73D12C #2C73D1
tetradic
#D12C73 #C5D12C #2CD18A #382CD1
square
#D12C73 #C5D12C #2CD18A #382CD1
split-complementary
#D12C73 #2CD138 #2CC5D1
monochromatic
#6C173B #9E2157 #D12C73 #DD5D94 #E890B6

Accessibility & contrast

On white

4.86
#D12C73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#D12C73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D12C73
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12C73#FFFFFF#000000##FFFFFF
##D12C731.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d12c73;
/* rgb */ color: rgb(209, 44, 115);
/* oklch */ color: oklch(57.6% 0.205 0.6);
Tailwind
colors: {
  custom: {
    50: '#e5769b',
    500: '#d12c73',
    950: '#000000',
  },
}
SCSS
$custom: #d12c73;
$custom-light: #e5769b;
$custom-dark: #000000;
JSON
{
  "hex": "#d12c73",
  "rgb": {
    "r": 209,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 334.182,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57647,
    "c": 0.20513,
    "h": 0.6
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D12C73

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

Preview Lab → · Contrast checker → · Palette generator →

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