#D12C70#D12C70

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

Color values

HEX#D12C70
RGBrgb(209, 44, 112)
HSLhsl(335, 65%, 50%)
HSVhsv(335, 79%, 82%)
CMYKcmyk(0%, 78.9%, 46.4%, 18%)
CIE-LABlab(47.66, 66.48, 2.22)
CIE-LCHlch(47.66, 66.52, 1.91°)
OKLaboklab(57.56% 0.2041 0.0064)
OKLCHoklch(57.56% 0.204 1.8)
XYZxyz(30.1223, 16.5306, 16.9306)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12C70 #2CD18D
analogous
#D12CC2 #D12C70 #D13B2C
triadic
#D12C70 #70D12C #2C70D1
tetradic
#D12C70 #C2D12C #2CD18D #3B2CD1
square
#D12C70 #C2D12C #2CD18D #3B2CD1
split-complementary
#D12C70 #2CD13B #2CC2D1
monochromatic
#6C173A #9E2155 #D12C70 #DD5D92 #E890B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D12C70#FFFFFF#000000##FFFFFF
##D12C701.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#817C6C
Tritanopia (blue-blind)
#E3004B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d12c70;
/* rgb */ color: rgb(209, 44, 112);
/* oklch */ color: oklch(57.6% 0.204 1.8);
Tailwind
colors: {
  custom: {
    50: '#e57698',
    500: '#d12c70',
    950: '#000000',
  },
}
SCSS
$custom: #d12c70;
$custom-light: #e57698;
$custom-dark: #000000;
JSON
{
  "hex": "#d12c70",
  "rgb": {
    "r": 209,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 335.273,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57555,
    "c": 0.20423,
    "h": 1.8
  },
  "luminance": 0.16527
}

Semantic roles & 50–950 ramp

primary
#D12C70
secondary
#87D2B3
accent
#E8A340
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D12C70

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

Preview Lab → · Contrast checker → · Palette generator →

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