#8A1B5F#8A1B5F

#8A1B5F is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.159 H 348.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8A1B5F
RGBrgb(138, 27, 95)
HSLhsl(323, 67%, 32%)
HSVhsv(323, 80%, 54%)
CMYKcmyk(0%, 80.4%, 31.2%, 45.9%)
CIE-LABlab(31.84, 51.00, -12.05)
CIE-LCHlch(31.84, 52.41, 346.71°)
OKLaboklab(43.35% 0.1558 -0.0316)
OKLCHoklch(43.35% 0.159 348.5)
XYZxyz(12.9394, 7.0149, 11.4969)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B5F #1B8A46
analogous
#7D1B8A #8A1B5F #8A1B28
triadic
#8A1B5F #5F8A1B #1B5F8A
tetradic
#8A1B5F #8A7D1B #1B8A46 #1B288A
square
#8A1B5F #8A7D1B #1B8A46 #1B288A
split-complementary
#8A1B5F #288A1B #1B8A7D
monochromatic
#240719 #57113C #8A1B5F #BD2582 #DB45A1

Accessibility & contrast

On white

8.74
#8A1B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A1B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B5F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B5F#FFFFFF#000000##FFFFFF
##8A1B5F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3F61
Deuteranopia (green-blind)
#4E525D
Tritanopia (blue-blind)
#94143B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1b5f;
/* rgb */ color: rgb(138, 27, 95);
/* oklch */ color: oklch(43.4% 0.159 348.5);
Tailwind
colors: {
  custom: {
    50: '#b0658c',
    500: '#8a1b5f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b5f;
$custom-light: #b0658c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b5f",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 323.243,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43352,
    "c": 0.15901,
    "h": 348.5
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#8A1B5F
secondary
#45BC73
accent
#EA803E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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