#8A1B40#8A1B40

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

Color values

HEX#8A1B40
RGBrgb(138, 27, 64)
HSLhsl(340, 67%, 32%)
HSVhsv(340, 80%, 54%)
CMYKcmyk(0%, 80.4%, 53.6%, 45.9%)
CIE-LABlab(30.78, 47.79, 6.75)
CIE-LCHlch(30.78, 48.26, 8.04°)
OKLaboklab(42.23% 0.1458 0.0175)
OKLCHoklch(42.23% 0.147 6.8)
XYZxyz(11.7997, 6.5590, 5.4942)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B40 #1B8A65
analogous
#8A1B78 #8A1B40 #8A2D1B
triadic
#8A1B40 #408A1B #1B408A
tetradic
#8A1B40 #788A1B #1B8A65 #2D1B8A
square
#8A1B40 #788A1B #1B8A65 #2D1B8A
split-complementary
#8A1B40 #1B8A2D #1B788A
monochromatic
#240711 #571128 #8A1B40 #BD2558 #DB4577

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1B40#FFFFFF#000000##FFFFFF
##8A1B401.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)
#383A41
Deuteranopia (green-blind)
#55503D
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1b40;
/* rgb */ color: rgb(138, 27, 64);
/* oklch */ color: oklch(42.2% 0.147 6.8);
Tailwind
colors: {
  custom: {
    50: '#b26474',
    500: '#8a1b40',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b40;
$custom-light: #b26474;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b40",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 340,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4223,
    "c": 0.14685,
    "h": 6.8
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#8A1B40
secondary
#45BC94
accent
#EAB13E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1B40

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

Preview Lab → · Contrast checker → · Palette generator →

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