#D12859#D12859

#D12859 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.7% C 0.203 H 10.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D12859
RGBrgb(209, 40, 89)
HSLhsl(343, 68%, 49%)
HSVhsv(343, 81%, 82%)
CMYKcmyk(0%, 80.9%, 57.4%, 18%)
CIE-LABlab(46.71, 65.76, 15.03)
CIE-LCHlch(46.71, 67.46, 12.87°)
OKLaboklab(56.66% 0.1992 0.0376)
OKLCHoklch(56.66% 0.203 10.7)
XYZxyz(28.8594, 15.7985, 10.9791)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12859 #28D1A0
analogous
#D128AE #D12859 #D14C28
triadic
#D12859 #59D128 #2859D1
tetradic
#D12859 #AED128 #28D1A0 #4C28D1
square
#D12859 #AED128 #28D1A0 #4C28D1
split-complementary
#D12859 #28D14C #28AED1
monochromatic
#6A142D #9E1E43 #D12859 #DF577F #E98BA6

Accessibility & contrast

On white

5.05
#D12859 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#D12859 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D12859
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12859#FFFFFF#000000##FFFFFF
##D128591.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59595A
Deuteranopia (green-blind)
#847B55
Tritanopia (blue-blind)
#E5003E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d12859;
/* rgb */ color: rgb(209, 40, 89);
/* oklch */ color: oklch(56.7% 0.203 10.7);
Tailwind
colors: {
  custom: {
    50: '#e77487',
    500: '#d12859',
    950: '#000000',
  },
}
SCSS
$custom: #d12859;
$custom-light: #e77487;
$custom-dark: #000000;
JSON
{
  "hex": "#d12859",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 89
  },
  "hsl": {
    "h": 342.604,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56663,
    "c": 0.20275,
    "h": 10.7
  },
  "luminance": 0.15794
}

Semantic roles & 50–950 ramp

primary
#D12859
secondary
#82D3BB
accent
#EBB83D
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#17090B
muted
#857B7C

Preview Lab

Preview with #D12859

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

Preview Lab → · Contrast checker → · Palette generator →

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