#8A1B3C#8A1B3C

#8A1B3C is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.146 H 9.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#8A1B3C
RGBrgb(138, 27, 60)
HSLhsl(342, 67%, 32%)
HSVhsv(342, 80%, 54%)
CMYKcmyk(0%, 80.4%, 56.5%, 45.9%)
CIE-LABlab(30.68, 47.46, 9.26)
CIE-LCHlch(30.68, 48.36, 11.04°)
OKLaboklab(42.12% 0.1442 0.0235)
OKLCHoklch(42.12% 0.146 9.2)
XYZxyz(11.6899, 6.5151, 4.9161)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B3C #1B8A69
analogous
#8A1B74 #8A1B3C #8A311B
triadic
#8A1B3C #3C8A1B #1B3C8A
tetradic
#8A1B3C #748A1B #1B8A69 #311B8A
square
#8A1B3C #748A1B #1B8A69 #311B8A
split-complementary
#8A1B3C #1B8A31 #1B748A
monochromatic
#24070F #571126 #8A1B3C #BD2552 #DB4571

Accessibility & contrast

On white

9.12
#8A1B3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8A1B3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B3C
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B3C#FFFFFF#000000##FFFFFF
##8A1B3C1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3D
Deuteranopia (green-blind)
#565039
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1b3c;
/* rgb */ color: rgb(138, 27, 60);
/* oklch */ color: oklch(42.1% 0.146 9.2);
Tailwind
colors: {
  custom: {
    50: '#b26371',
    500: '#8a1b3c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b3c;
$custom-light: #b26371;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b3c",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 60
  },
  "hsl": {
    "h": 342.162,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42119,
    "c": 0.14612,
    "h": 9.2
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

primary
#8A1B3C
secondary
#45BC99
accent
#EAB73E
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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