#D12C71#D12C71

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

Color values

HEX#D12C71
RGBrgb(209, 44, 113)
HSLhsl(335, 65%, 50%)
HSVhsv(335, 79%, 82%)
CMYKcmyk(0%, 78.9%, 45.9%, 18%)
CIE-LABlab(47.69, 66.57, 1.65)
CIE-LCHlch(47.69, 66.59, 1.42°)
OKLaboklab(57.58% 0.2045 0.005)
OKLCHoklch(57.58% 0.205 1.4)
XYZxyz(30.1783, 16.5530, 17.2255)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12C71 #2CD18C
analogous
#D12CC4 #D12C71 #D13A2C
triadic
#D12C71 #71D12C #2C71D1
tetradic
#D12C71 #C4D12C #2CD18C #3A2CD1
square
#D12C71 #C4D12C #2CD18C #3A2CD1
split-complementary
#D12C71 #2CD13A #2CC4D1
monochromatic
#6C173A #9E2156 #D12C71 #DD5D93 #E890B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D12C71#FFFFFF#000000##FFFFFF
##D12C711.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)
#555D73
Deuteranopia (green-blind)
#817D6D
Tritanopia (blue-blind)
#E3004B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d12c71;
/* rgb */ color: rgb(209, 44, 113);
/* oklch */ color: oklch(57.6% 0.205 1.4);
Tailwind
colors: {
  custom: {
    50: '#e57699',
    500: '#d12c71',
    950: '#000000',
  },
}
SCSS
$custom: #d12c71;
$custom-light: #e57699;
$custom-dark: #000000;
JSON
{
  "hex": "#d12c71",
  "rgb": {
    "r": 209,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 334.909,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57585,
    "c": 0.20452,
    "h": 1.4
  },
  "luminance": 0.16549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D12C71

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

Preview Lab → · Contrast checker → · Palette generator →

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