#8D1270#8D1270

#8D1270 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.179 H 340.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8D1270
RGBrgb(141, 18, 112)
HSLhsl(314, 77%, 31%)
HSVhsv(314, 87%, 55%)
CMYKcmyk(0%, 87.2%, 20.6%, 44.7%)
CIE-LABlab(32.41, 56.20, -22.05)
CIE-LCHlch(32.41, 60.37, 338.58°)
OKLaboklab(44.12% 0.1685 -0.0596)
OKLCHoklch(44.12% 0.179 340.5)
XYZxyz(14.1259, 7.2667, 15.9848)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1270 #128D2F
analogous
#6C128D #8D1270 #8D1233
triadic
#8D1270 #708D12 #12708D
tetradic
#8D1270 #8D6C12 #128D2F #12338D
square
#8D1270 #8D6C12 #128D2F #12338D
split-complementary
#8D1270 #338D12 #128D6C
monochromatic
#20041A #570B45 #8D1270 #C3199B #E534BB

Accessibility & contrast

On white

8.56
#8D1270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8D1270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1270
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1270#FFFFFF#000000##FFFFFF
##8D12701.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4072
Deuteranopia (green-blind)
#49536D
Tritanopia (blue-blind)
#961742
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1270;
/* rgb */ color: rgb(141, 18, 112);
/* oklch */ color: oklch(44.1% 0.179 340.5);
Tailwind
colors: {
  custom: {
    50: '#b26399',
    500: '#8d1270',
    950: '#000000',
  },
}
SCSS
$custom: #8d1270;
$custom-light: #b26399;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1270",
  "rgb": {
    "r": 141,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 314.146,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44118,
    "c": 0.17876,
    "h": 340.5
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#8D1270
secondary
#39C15A
accent
#F46134
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1270

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

Preview Lab → · Contrast checker → · Palette generator →

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