#8A1B3F#8A1B3F

#8A1B3F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.147 H 7.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#8A1B3F
RGBrgb(138, 27, 63)
HSLhsl(341, 67%, 32%)
HSVhsv(341, 80%, 54%)
CMYKcmyk(0%, 80.4%, 54.3%, 45.9%)
CIE-LABlab(30.75, 47.70, 7.38)
CIE-LCHlch(30.75, 48.27, 8.79°)
OKLaboklab(42.2% 0.1454 0.019)
OKLCHoklch(42.2% 0.147 7.4)
XYZxyz(11.7715, 6.5477, 5.3456)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B3F #1B8A66
analogous
#8A1B76 #8A1B3F #8A2F1B
triadic
#8A1B3F #3F8A1B #1B3F8A
tetradic
#8A1B3F #768A1B #1B8A66 #2F1B8A
square
#8A1B3F #768A1B #1B8A66 #2F1B8A
split-complementary
#8A1B3F #1B8A2F #1B768A
monochromatic
#240710 #571128 #8A1B3F #BD2556 #DB4575

Accessibility & contrast

On white

9.09
#8A1B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A1B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B3F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B3F#FFFFFF#000000##FFFFFF
##8A1B3F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A40
Deuteranopia (green-blind)
#55503C
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1b3f;
/* rgb */ color: rgb(138, 27, 63);
/* oklch */ color: oklch(42.2% 0.147 7.4);
Tailwind
colors: {
  custom: {
    50: '#b26473',
    500: '#8a1b3f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b3f;
$custom-light: #b26473;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b3f",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 340.541,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42202,
    "c": 0.14665,
    "h": 7.4
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#8A1B3F
secondary
#45BC95
accent
#EAB23E
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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