#8A1B46#8A1B46

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

Color values

HEX#8A1B46
RGBrgb(138, 27, 70)
HSLhsl(337, 67%, 32%)
HSVhsv(337, 80%, 54%)
CMYKcmyk(0%, 80.4%, 49.3%, 45.9%)
CIE-LABlab(30.95, 48.31, 3.02)
CIE-LCHlch(30.95, 48.41, 3.57°)
OKLaboklab(42.41% 0.1481 0.0082)
OKLCHoklch(42.41% 0.148 3.2)
XYZxyz(11.9797, 6.6310, 6.4422)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B46 #1B8A5F
analogous
#8A1B7D #8A1B46 #8A281B
triadic
#8A1B46 #468A1B #1B468A
tetradic
#8A1B46 #7D8A1B #1B8A5F #281B8A
square
#8A1B46 #7D8A1B #1B8A5F #281B8A
split-complementary
#8A1B46 #1B8A28 #1B7D8A
monochromatic
#240712 #57112C #8A1B46 #BD2560 #DB457F

Accessibility & contrast

On white

9.03
#8A1B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B46
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B46#FFFFFF#000000##FFFFFF
##8A1B461.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B47
Deuteranopia (green-blind)
#545143
Tritanopia (blue-blind)
#97002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1b46;
/* rgb */ color: rgb(138, 27, 70);
/* oklch */ color: oklch(42.4% 0.148 3.2);
Tailwind
colors: {
  custom: {
    50: '#b26479',
    500: '#8a1b46',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b46;
$custom-light: #b26479;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b46",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 70
  },
  "hsl": {
    "h": 336.757,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42411,
    "c": 0.14834,
    "h": 3.2
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#8A1B46
secondary
#45BC8E
accent
#EAA73E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1B46

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

Preview Lab → · Contrast checker → · Palette generator →

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