#8A1B43#8A1B43

#8A1B43 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.148 H 5.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8A1B43
RGBrgb(138, 27, 67)
HSLhsl(338, 67%, 32%)
HSVhsv(338, 80%, 54%)
CMYKcmyk(0%, 80.4%, 51.4%, 45.9%)
CIE-LABlab(30.86, 48.04, 4.88)
CIE-LCHlch(30.86, 48.29, 5.80°)
OKLaboklab(42.32% 0.147 0.0129)
OKLCHoklch(42.32% 0.148 5)
XYZxyz(11.8873, 6.5940, 5.9559)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B43 #1B8A62
analogous
#8A1B7B #8A1B43 #8A2A1B
triadic
#8A1B43 #438A1B #1B438A
tetradic
#8A1B43 #7B8A1B #1B8A62 #2A1B8A
square
#8A1B43 #7B8A1B #1B8A62 #2A1B8A
split-complementary
#8A1B43 #1B8A2A #1B7B8A
monochromatic
#240711 #57112A #8A1B43 #BD255C #DB457B

Accessibility & contrast

On white

9.06
#8A1B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8A1B43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B43
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B43#FFFFFF#000000##FFFFFF
##8A1B431.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B44
Deuteranopia (green-blind)
#555040
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1b43;
/* rgb */ color: rgb(138, 27, 67);
/* oklch */ color: oklch(42.3% 0.148 5.0);
Tailwind
colors: {
  custom: {
    50: '#b26476',
    500: '#8a1b43',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b43;
$custom-light: #b26476;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b43",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 67
  },
  "hsl": {
    "h": 338.378,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42319,
    "c": 0.14754,
    "h": 5
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#8A1B43
secondary
#45BC91
accent
#EAAC3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1B43

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

Preview Lab → · Contrast checker → · Palette generator →

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