#8D2870#8D2870

#8D2870 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.157 H 341.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8D2870
RGBrgb(141, 40, 112)
HSLhsl(317, 56%, 35%)
HSVhsv(317, 72%, 55%)
CMYKcmyk(0%, 71.6%, 20.6%, 44.7%)
CIE-LABlab(34.70, 49.64, -18.48)
CIE-LCHlch(34.70, 52.97, 339.58°)
OKLaboklab(45.78% 0.1485 -0.0496)
OKLCHoklch(45.78% 0.157 341.5)
XYZxyz(14.6684, 8.3516, 16.1656)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2870 #288D45
analogous
#77288D #8D2870 #8D283D
triadic
#8D2870 #708D28 #28708D
tetradic
#8D2870 #8D7728 #288D45 #283D8D
square
#8D2870 #8D7728 #288D45 #283D8D
split-complementary
#8D2870 #3D8D28 #288D77
monochromatic
#2E0D24 #5D1A4A #8D2870 #BD3696 #D15EB0

Accessibility & contrast

On white

7.87
#8D2870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D2870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2870
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2870#FFFFFF#000000##FFFFFF
##8D28701.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304772
Deuteranopia (green-blind)
#4F586E
Tritanopia (blue-blind)
#962A48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2870;
/* rgb */ color: rgb(141, 40, 112);
/* oklch */ color: oklch(45.8% 0.157 341.5);
Tailwind
colors: {
  custom: {
    50: '#b26b99',
    500: '#8d2870',
    950: '#000000',
  },
}
SCSS
$custom: #8d2870;
$custom-light: #b26b99;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2870",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 317.228,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.15662,
    "h": 341.5
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

primary
#8D2870
secondary
#5AB775
accent
#DF7449
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2870

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

Preview Lab → · Contrast checker → · Palette generator →

#8D2870 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva