#8A1B50#8A1B50

#8A1B50 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.152 H 357.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8A1B50
RGBrgb(138, 27, 80)
HSLhsl(331, 67%, 32%)
HSVhsv(331, 80%, 54%)
CMYKcmyk(0%, 80.4%, 42%, 45.9%)
CIE-LABlab(31.27, 49.30, -3.11)
CIE-LCHlch(31.27, 49.39, 356.39°)
OKLaboklab(42.75% 0.1516 -0.0075)
OKLCHoklch(42.75% 0.152 357.1)
XYZxyz(12.3220, 6.7679, 8.2453)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B50 #1B8A55
analogous
#8A1B88 #8A1B50 #8A1D1B
triadic
#8A1B50 #508A1B #1B508A
tetradic
#8A1B50 #888A1B #1B8A55 #1D1B8A
square
#8A1B50 #888A1B #1B8A55 #1D1B8A
split-complementary
#8A1B50 #1B8A1D #1B888A
monochromatic
#240715 #571132 #8A1B50 #BD256E #DB458C

Accessibility & contrast

On white

8.92
#8A1B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8A1B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B50
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B50#FFFFFF#000000##FFFFFF
##8A1B501.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C51
Deuteranopia (green-blind)
#52514D
Tritanopia (blue-blind)
#960733
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1b50;
/* rgb */ color: rgb(138, 27, 80);
/* oklch */ color: oklch(42.8% 0.152 357.1);
Tailwind
colors: {
  custom: {
    50: '#b16481',
    500: '#8a1b50',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b50;
$custom-light: #b16481;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b50",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 80
  },
  "hsl": {
    "h": 331.351,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42752,
    "c": 0.1518,
    "h": 357.1
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#8A1B50
secondary
#45BC83
accent
#EA983E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1B50

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

Preview Lab → · Contrast checker → · Palette generator →

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