#D12855#D12855

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

Color values

HEX#D12855
RGBrgb(209, 40, 85)
HSLhsl(344, 68%, 49%)
HSVhsv(344, 81%, 82%)
CMYKcmyk(0%, 80.9%, 59.3%, 18%)
CIE-LABlab(46.62, 65.50, 17.38)
CIE-LCHlch(46.62, 67.77, 14.86°)
OKLaboklab(56.57% 0.1977 0.0429)
OKLCHoklch(56.57% 0.202 12.3)
XYZxyz(28.6960, 15.7331, 10.1184)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12855 #28D1A4
analogous
#D128AA #D12855 #D15028
triadic
#D12855 #55D128 #2855D1
tetradic
#D12855 #AAD128 #28D1A4 #5028D1
square
#D12855 #AAD128 #28D1A4 #5028D1
split-complementary
#D12855 #28D150 #28AAD1
monochromatic
#6A142B #9E1E40 #D12855 #DF577B #E98BA4

Accessibility & contrast

On white

5.07
#D12855 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D12855
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12855#FFFFFF#000000##FFFFFF
##D128551.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595856
Deuteranopia (green-blind)
#847B51
Tritanopia (blue-blind)
#E5003C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d12855;
/* rgb */ color: rgb(209, 40, 85);
/* oklch */ color: oklch(56.6% 0.202 12.3);
Tailwind
colors: {
  custom: {
    50: '#e77484',
    500: '#d12855',
    950: '#000000',
  },
}
SCSS
$custom: #d12855;
$custom-light: #e77484;
$custom-dark: #000000;
JSON
{
  "hex": "#d12855",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 344.024,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56571,
    "c": 0.20233,
    "h": 12.3
  },
  "luminance": 0.15729
}

Semantic roles & 50–950 ramp

primary
#D12855
secondary
#82D3BD
accent
#EBBC3D
background
#FFF7F8
surface
#FFEEEF
border
#D7C9CA
text
#17090A
muted
#857B7C

Preview Lab

Preview with #D12855

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

Preview Lab → · Contrast checker → · Palette generator →

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