#8A1B3E#8A1B3E

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

Color values

HEX#8A1B3E
RGBrgb(138, 27, 62)
HSLhsl(341, 67%, 32%)
HSVhsv(341, 80%, 54%)
CMYKcmyk(0%, 80.4%, 55.1%, 45.9%)
CIE-LABlab(30.73, 47.62, 8.00)
CIE-LCHlch(30.73, 48.29, 9.54°)
OKLaboklab(42.17% 0.145 0.0205)
OKLCHoklch(42.17% 0.146 8)
XYZxyz(11.7438, 6.5366, 5.1998)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B3E #1B8A67
analogous
#8A1B76 #8A1B3E #8A2F1B
triadic
#8A1B3E #3E8A1B #1B3E8A
tetradic
#8A1B3E #768A1B #1B8A67 #2F1B8A
square
#8A1B3E #768A1B #1B8A67 #2F1B8A
split-complementary
#8A1B3E #1B8A2F #1B768A
monochromatic
#240710 #571127 #8A1B3E #BD2555 #DB4574

Accessibility & contrast

On white

9.10
#8A1B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A1B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B3E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B3E#FFFFFF#000000##FFFFFF
##8A1B3E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3F
Deuteranopia (green-blind)
#55503B
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1b3e;
/* rgb */ color: rgb(138, 27, 62);
/* oklch */ color: oklch(42.2% 0.146 8.0);
Tailwind
colors: {
  custom: {
    50: '#b26373',
    500: '#8a1b3e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b3e;
$custom-light: #b26373;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b3e",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 341.081,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42174,
    "c": 0.14646,
    "h": 8
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#8A1B3E
secondary
#45BC96
accent
#EAB43E
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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