#8A1B48#8A1B48

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

Color values

HEX#8A1B48
RGBrgb(138, 27, 72)
HSLhsl(336, 67%, 32%)
HSVhsv(336, 80%, 54%)
CMYKcmyk(0%, 80.4%, 47.8%, 45.9%)
CIE-LABlab(31.01, 48.50, 1.78)
CIE-LCHlch(31.01, 48.53, 2.10°)
OKLaboklab(42.48% 0.1489 0.0051)
OKLCHoklch(42.48% 0.149 2)
XYZxyz(12.0439, 6.6567, 6.7803)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B48 #1B8A5D
analogous
#8A1B7F #8A1B48 #8A261B
triadic
#8A1B48 #488A1B #1B488A
tetradic
#8A1B48 #7F8A1B #1B8A5D #261B8A
square
#8A1B48 #7F8A1B #1B8A5D #261B8A
split-complementary
#8A1B48 #1B8A26 #1B7F8A
monochromatic
#240713 #57112D #8A1B48 #BD2563 #DB4582

Accessibility & contrast

On white

9.01
#8A1B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B48
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B48#FFFFFF#000000##FFFFFF
##8A1B481.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#545145
Tritanopia (blue-blind)
#96002F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1b48;
/* rgb */ color: rgb(138, 27, 72);
/* oklch */ color: oklch(42.5% 0.149 2.0);
Tailwind
colors: {
  custom: {
    50: '#b1647a',
    500: '#8a1b48',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b48;
$custom-light: #b1647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b48",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 335.676,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42476,
    "c": 0.14894,
    "h": 2
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#8A1B48
secondary
#45BC8C
accent
#EAA43E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1B48

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

Preview Lab → · Contrast checker → · Palette generator →

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