#D12857#D12857

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

Color values

HEX#D12857
RGBrgb(209, 40, 87)
HSLhsl(343, 68%, 49%)
HSVhsv(343, 81%, 82%)
CMYKcmyk(0%, 80.9%, 58.4%, 18%)
CIE-LABlab(46.67, 65.63, 16.20)
CIE-LCHlch(46.67, 67.60, 13.87°)
OKLaboklab(56.62% 0.1985 0.0403)
OKLCHoklch(56.62% 0.203 11.5)
XYZxyz(28.7765, 15.7653, 10.5427)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12857 #28D1A2
analogous
#D128AC #D12857 #D14E28
triadic
#D12857 #57D128 #2857D1
tetradic
#D12857 #ACD128 #28D1A2 #4E28D1
square
#D12857 #ACD128 #28D1A2 #4E28D1
split-complementary
#D12857 #28D14E #28ACD1
monochromatic
#6A142C #9E1E42 #D12857 #DF577D #E98BA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D12857#FFFFFF#000000##FFFFFF
##D128571.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)
#595958
Deuteranopia (green-blind)
#847B53
Tritanopia (blue-blind)
#E5003D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d12857;
/* rgb */ color: rgb(209, 40, 87);
/* oklch */ color: oklch(56.6% 0.203 11.5);
Tailwind
colors: {
  custom: {
    50: '#e77486',
    500: '#d12857',
    950: '#000000',
  },
}
SCSS
$custom: #d12857;
$custom-light: #e77486;
$custom-dark: #000000;
JSON
{
  "hex": "#d12857",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 343.314,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56617,
    "c": 0.20252,
    "h": 11.5
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

primary
#D12857
secondary
#82D3BC
accent
#EBBA3D
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#17090B
muted
#857B7C

Preview Lab

Preview with #D12857

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

Preview Lab → · Contrast checker → · Palette generator →

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