#8A1B49#8A1B49

#8A1B49 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.149 H 1.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8A1B49
RGBrgb(138, 27, 73)
HSLhsl(335, 67%, 32%)
HSVhsv(335, 80%, 54%)
CMYKcmyk(0%, 80.4%, 47.1%, 45.9%)
CIE-LABlab(31.04, 48.59, 1.17)
CIE-LCHlch(31.04, 48.61, 1.37°)
OKLaboklab(42.51% 0.1492 0.0035)
OKLCHoklch(42.51% 0.149 1.4)
XYZxyz(12.0768, 6.6698, 6.9535)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B49 #1B8A5C
analogous
#8A1B81 #8A1B49 #8A241B
triadic
#8A1B49 #498A1B #1B498A
tetradic
#8A1B49 #818A1B #1B8A5C #241B8A
square
#8A1B49 #818A1B #1B8A5C #241B8A
split-complementary
#8A1B49 #1B8A24 #1B818A
monochromatic
#240713 #57112E #8A1B49 #BD2564 #DB4583

Accessibility & contrast

On white

9.00
#8A1B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B49
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B49#FFFFFF#000000##FFFFFF
##8A1B491.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B4A
Deuteranopia (green-blind)
#545146
Tritanopia (blue-blind)
#960030
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1b49;
/* rgb */ color: rgb(138, 27, 73);
/* oklch */ color: oklch(42.5% 0.149 1.4);
Tailwind
colors: {
  custom: {
    50: '#b1647b',
    500: '#8a1b49',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b49;
$custom-light: #b1647b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b49",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 335.135,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.14925,
    "h": 1.4
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#8A1B49
secondary
#45BC8B
accent
#EAA33E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1B49

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

Preview Lab → · Contrast checker → · Palette generator →

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