#D12D78#D12D78

#D12D78 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 57.9% C 0.206 H 358.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D12D78
RGBrgb(209, 45, 120)
HSLhsl(333, 65%, 50%)
HSVhsv(333, 78%, 82%)
CMYKcmyk(0%, 78.5%, 42.6%, 18%)
CIE-LABlab(48.00, 66.93, -2.19)
CIE-LCHlch(48.00, 66.97, 358.13°)
OKLaboklab(57.88% 0.2058 -0.0049)
OKLCHoklch(57.88% 0.206 358.6)
XYZxyz(30.6254, 16.7922, 19.3942)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12D78 #2DD186
analogous
#D12DCA #D12D78 #D1342D
triadic
#D12D78 #78D12D #2D78D1
tetradic
#D12D78 #CAD12D #2DD186 #342DD1
square
#D12D78 #CAD12D #2DD186 #342DD1
split-complementary
#D12D78 #2DD134 #2DCAD1
monochromatic
#6C173E #9F225B #D12D78 #DC5F98 #E791B9

Accessibility & contrast

On white

4.82
#D12D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#D12D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D12D78
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12D78#FFFFFF#000000##FFFFFF
##D12D781.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E7A
Deuteranopia (green-blind)
#7F7D74
Tritanopia (blue-blind)
#E3074F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d12d78;
/* rgb */ color: rgb(209, 45, 120);
/* oklch */ color: oklch(57.9% 0.206 358.6);
Tailwind
colors: {
  custom: {
    50: '#e5779e',
    500: '#d12d78',
    950: '#000000',
  },
}
SCSS
$custom: #d12d78;
$custom-light: #e5779e;
$custom-dark: #000000;
JSON
{
  "hex": "#d12d78",
  "rgb": {
    "r": 209,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 332.561,
    "s": 64.567,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.2059,
    "h": 358.6
  },
  "luminance": 0.16788
}

Semantic roles & 50–950 ramp

primary
#D12D78
secondary
#88D2B0
accent
#E89B40
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D12D78

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

Preview Lab → · Contrast checker → · Palette generator →

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