#8A1B44#8A1B44

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

Color values

HEX#8A1B44
RGBrgb(138, 27, 68)
HSLhsl(338, 67%, 32%)
HSVhsv(338, 80%, 54%)
CMYKcmyk(0%, 80.4%, 50.7%, 45.9%)
CIE-LABlab(30.89, 48.13, 4.26)
CIE-LCHlch(30.89, 48.32, 5.06°)
OKLaboklab(42.35% 0.1474 0.0113)
OKLCHoklch(42.35% 0.148 4.4)
XYZxyz(11.9176, 6.6062, 6.1153)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B44 #1B8A61
analogous
#8A1B7C #8A1B44 #8A2A1B
triadic
#8A1B44 #448A1B #1B448A
tetradic
#8A1B44 #7C8A1B #1B8A61 #2A1B8A
square
#8A1B44 #7C8A1B #1B8A61 #2A1B8A
split-complementary
#8A1B44 #1B8A2A #1B7C8A
monochromatic
#240712 #57112B #8A1B44 #BD255D #DB457C

Accessibility & contrast

On white

9.05
#8A1B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B44
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B44#FFFFFF#000000##FFFFFF
##8A1B441.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B45
Deuteranopia (green-blind)
#545141
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1b44;
/* rgb */ color: rgb(138, 27, 68);
/* oklch */ color: oklch(42.3% 0.148 4.4);
Tailwind
colors: {
  custom: {
    50: '#b26477',
    500: '#8a1b44',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b44;
$custom-light: #b26477;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b44",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 68
  },
  "hsl": {
    "h": 337.838,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42349,
    "c": 0.14779,
    "h": 4.4
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#8A1B44
secondary
#45BC90
accent
#EAAA3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1B44

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

Preview Lab → · Contrast checker → · Palette generator →

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