#D12856#D12856

#D12856 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.6% C 0.202 H 11.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#D12856
RGBrgb(209, 40, 86)
HSLhsl(344, 68%, 49%)
HSVhsv(344, 81%, 82%)
CMYKcmyk(0%, 80.9%, 58.9%, 18%)
CIE-LABlab(46.64, 65.57, 16.79)
CIE-LCHlch(46.64, 67.68, 14.36°)
OKLaboklab(56.59% 0.1981 0.0416)
OKLCHoklch(56.59% 0.202 11.9)
XYZxyz(28.7360, 15.7491, 10.3291)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12856 #28D1A3
analogous
#D128AB #D12856 #D14F28
triadic
#D12856 #56D128 #2856D1
tetradic
#D12856 #ABD128 #28D1A3 #4F28D1
square
#D12856 #ABD128 #28D1A3 #4F28D1
split-complementary
#D12856 #28D14F #28ABD1
monochromatic
#6A142C #9E1E41 #D12856 #DF577C #E98BA4

Accessibility & contrast

On white

5.06
#D12856 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#D12856 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D12856
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12856#FFFFFF#000000##FFFFFF
##D128561.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595957
Deuteranopia (green-blind)
#847B52
Tritanopia (blue-blind)
#E5003D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d12856;
/* rgb */ color: rgb(209, 40, 86);
/* oklch */ color: oklch(56.6% 0.202 11.9);
Tailwind
colors: {
  custom: {
    50: '#e77485',
    500: '#d12856',
    950: '#000000',
  },
}
SCSS
$custom: #d12856;
$custom-light: #e77485;
$custom-dark: #000000;
JSON
{
  "hex": "#d12856",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 343.669,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.20242,
    "h": 11.9
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#D12856
secondary
#82D3BD
accent
#EBBB3D
background
#FFF7F8
surface
#FFEEEF
border
#D7C9CA
text
#17090B
muted
#857B7C

Preview Lab

Preview with #D12856

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

Preview Lab → · Contrast checker → · Palette generator →

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