#8A1B45#8A1B45

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

Color values

HEX#8A1B45
RGBrgb(138, 27, 69)
HSLhsl(337, 67%, 32%)
HSVhsv(337, 80%, 54%)
CMYKcmyk(0%, 80.4%, 50%, 45.9%)
CIE-LABlab(30.92, 48.22, 3.64)
CIE-LCHlch(30.92, 48.36, 4.31°)
OKLaboklab(42.38% 0.1477 0.0098)
OKLCHoklch(42.38% 0.148 3.8)
XYZxyz(11.9484, 6.6185, 6.2774)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B45 #1B8A60
analogous
#8A1B7D #8A1B45 #8A281B
triadic
#8A1B45 #458A1B #1B458A
tetradic
#8A1B45 #7D8A1B #1B8A60 #281B8A
square
#8A1B45 #7D8A1B #1B8A60 #281B8A
split-complementary
#8A1B45 #1B8A28 #1B7D8A
monochromatic
#240712 #57112B #8A1B45 #BD255F #DB457D

Accessibility & contrast

On white

9.04
#8A1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B45
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B45#FFFFFF#000000##FFFFFF
##8A1B451.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1b45;
/* rgb */ color: rgb(138, 27, 69);
/* oklch */ color: oklch(42.4% 0.148 3.8);
Tailwind
colors: {
  custom: {
    50: '#b26478',
    500: '#8a1b45',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b45;
$custom-light: #b26478;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b45",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 337.297,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4238,
    "c": 0.14806,
    "h": 3.8
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#8A1B45
secondary
#45BC8F
accent
#EAA93E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1B45

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

Preview Lab → · Contrast checker → · Palette generator →

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