#D12C74#D12C74

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

Color values

HEX#D12C74
RGBrgb(209, 44, 116)
HSLhsl(334, 65%, 50%)
HSVhsv(334, 79%, 82%)
CMYKcmyk(0%, 78.9%, 44.5%, 18%)
CIE-LABlab(47.78, 66.84, -0.06)
CIE-LCHlch(47.78, 66.84, 359.95°)
OKLaboklab(57.68% 0.2054 0.0006)
OKLCHoklch(57.68% 0.205 0.2)
XYZxyz(30.3500, 16.6217, 18.1297)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12C74 #2CD189
analogous
#D12CC7 #D12C74 #D1372C
triadic
#D12C74 #74D12C #2C74D1
tetradic
#D12C74 #C7D12C #2CD189 #372CD1
square
#D12C74 #C7D12C #2CD189 #372CD1
split-complementary
#D12C74 #2CD137 #2CC7D1
monochromatic
#6C173C #9E2158 #D12C74 #DD5D95 #E890B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D12C74#FFFFFF#000000##FFFFFF
##D12C741.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)
#545D76
Deuteranopia (green-blind)
#807D70
Tritanopia (blue-blind)
#E3004D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d12c74;
/* rgb */ color: rgb(209, 44, 116);
/* oklch */ color: oklch(57.7% 0.205 0.2);
Tailwind
colors: {
  custom: {
    50: '#e5769b',
    500: '#d12c74',
    950: '#000000',
  },
}
SCSS
$custom: #d12c74;
$custom-light: #e5769b;
$custom-dark: #000000;
JSON
{
  "hex": "#d12c74",
  "rgb": {
    "r": 209,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 333.818,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57678,
    "c": 0.20544,
    "h": 0.2
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

primary
#D12C74
secondary
#87D2B1
accent
#E89F40
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D12C74

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

Preview Lab → · Contrast checker → · Palette generator →

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