#8A1B5C#8A1B5C

#8A1B5C is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.157 H 350.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8A1B5C
RGBrgb(138, 27, 92)
HSLhsl(325, 67%, 32%)
HSVhsv(325, 80%, 54%)
CMYKcmyk(0%, 80.4%, 33.3%, 45.9%)
CIE-LABlab(31.72, 50.64, -10.28)
CIE-LCHlch(31.72, 51.67, 348.52°)
OKLaboklab(43.22% 0.1551 -0.0268)
OKLCHoklch(43.22% 0.157 350.2)
XYZxyz(12.8057, 6.9614, 10.7925)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B5C #1B8A49
analogous
#811B8A #8A1B5C #8A1B24
triadic
#8A1B5C #5C8A1B #1B5C8A
tetradic
#8A1B5C #8A811B #1B8A49 #1B248A
square
#8A1B5C #8A811B #1B8A49 #1B248A
split-complementary
#8A1B5C #248A1B #1B8A81
monochromatic
#240718 #57113A #8A1B5C #BD257E #DB459D

Accessibility & contrast

On white

8.78
#8A1B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A1B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B5C
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B5C#FFFFFF#000000##FFFFFF
##8A1B5C1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5E
Deuteranopia (green-blind)
#4F525A
Tritanopia (blue-blind)
#951239
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1b5c;
/* rgb */ color: rgb(138, 27, 92);
/* oklch */ color: oklch(43.2% 0.157 350.2);
Tailwind
colors: {
  custom: {
    50: '#b0658a',
    500: '#8a1b5c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b5c;
$custom-light: #b0658a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b5c",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 324.865,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43223,
    "c": 0.15739,
    "h": 350.2
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#8A1B5C
secondary
#45BC76
accent
#EA853E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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