#8A1B4F#8A1B4F

#8A1B4F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.151 H 357.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8A1B4F
RGBrgb(138, 27, 79)
HSLhsl(332, 67%, 32%)
HSVhsv(332, 80%, 54%)
CMYKcmyk(0%, 80.4%, 42.8%, 45.9%)
CIE-LABlab(31.24, 49.19, -2.50)
CIE-LCHlch(31.24, 49.25, 357.09°)
OKLaboklab(42.72% 0.1513 -0.006)
OKLCHoklch(42.72% 0.151 357.7)
XYZxyz(12.2854, 6.7533, 8.0522)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B4F #1B8A56
analogous
#8A1B87 #8A1B4F #8A1F1B
triadic
#8A1B4F #4F8A1B #1B4F8A
tetradic
#8A1B4F #878A1B #1B8A56 #1F1B8A
square
#8A1B4F #878A1B #1B8A56 #1F1B8A
split-complementary
#8A1B4F #1B8A1F #1B878A
monochromatic
#240714 #571132 #8A1B4F #BD256C #DB458B

Accessibility & contrast

On white

8.93
#8A1B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8A1B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B4F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B4F#FFFFFF#000000##FFFFFF
##8A1B4F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C50
Deuteranopia (green-blind)
#52514C
Tritanopia (blue-blind)
#960633
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1b4f;
/* rgb */ color: rgb(138, 27, 79);
/* oklch */ color: oklch(42.7% 0.151 357.7);
Tailwind
colors: {
  custom: {
    50: '#b16480',
    500: '#8a1b4f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b4f;
$custom-light: #b16480;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b4f",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 331.892,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42715,
    "c": 0.1514,
    "h": 357.7
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#8A1B4F
secondary
#45BC84
accent
#EA993E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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