#8A1B4B#8A1B4B

#8A1B4B is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.150 H 0.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#8A1B4B
RGBrgb(138, 27, 75)
HSLhsl(334, 67%, 32%)
HSVhsv(334, 80%, 54%)
CMYKcmyk(0%, 80.4%, 45.7%, 45.9%)
CIE-LABlab(31.11, 48.79, -0.06)
CIE-LCHlch(31.11, 48.79, 359.93°)
OKLaboklab(42.58% 0.1499 0.0004)
OKLCHoklch(42.58% 0.15 0.1)
XYZxyz(12.1441, 6.6968, 7.3084)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B4B #1B8A5A
analogous
#8A1B83 #8A1B4B #8A221B
triadic
#8A1B4B #4B8A1B #1B4B8A
tetradic
#8A1B4B #838A1B #1B8A5A #221B8A
square
#8A1B4B #838A1B #1B8A5A #221B8A
split-complementary
#8A1B4B #1B8A22 #1B838A
monochromatic
#240713 #57112F #8A1B4B #BD2567 #DB4586

Accessibility & contrast

On white

8.98
#8A1B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8A1B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B4B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B4B#FFFFFF#000000##FFFFFF
##8A1B4B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4C
Deuteranopia (green-blind)
#535148
Tritanopia (blue-blind)
#960231
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1b4b;
/* rgb */ color: rgb(138, 27, 75);
/* oklch */ color: oklch(42.6% 0.150 0.1);
Tailwind
colors: {
  custom: {
    50: '#b1647d',
    500: '#8a1b4b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b4b;
$custom-light: #b1647d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b4b",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 334.054,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42575,
    "c": 0.14992,
    "h": 0.1
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#8A1B4B
secondary
#45BC88
accent
#EAA03E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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