#8A1B37#8A1B37

#8A1B37 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.145 H 12.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#8A1B37
RGBrgb(138, 27, 55)
HSLhsl(345, 67%, 32%)
HSVhsv(345, 80%, 54%)
CMYKcmyk(0%, 80.4%, 60.1%, 45.9%)
CIE-LABlab(30.56, 47.08, 12.41)
CIE-LCHlch(30.56, 48.69, 14.77°)
OKLaboklab(41.99% 0.1422 0.0308)
OKLCHoklch(41.99% 0.145 12.2)
XYZxyz(11.5639, 6.4647, 4.2526)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B37 #1B8A6E
analogous
#8A1B6F #8A1B37 #8A371B
triadic
#8A1B37 #378A1B #1B378A
tetradic
#8A1B37 #6F8A1B #1B8A6E #371B8A
square
#8A1B37 #6F8A1B #1B8A6E #371B8A
split-complementary
#8A1B37 #1B8A37 #1B6F8A
monochromatic
#24070E #571123 #8A1B37 #BD254B #DB456B

Accessibility & contrast

On white

9.16
#8A1B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8A1B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B37
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B37#FFFFFF#000000##FFFFFF
##8A1B371.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3937
Deuteranopia (green-blind)
#565034
Tritanopia (blue-blind)
#970027
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1b37;
/* rgb */ color: rgb(138, 27, 55);
/* oklch */ color: oklch(42.0% 0.145 12.2);
Tailwind
colors: {
  custom: {
    50: '#b2636d',
    500: '#8a1b37',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b37;
$custom-light: #b2636d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b37",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 55
  },
  "hsl": {
    "h": 344.865,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41991,
    "c": 0.14547,
    "h": 12.2
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#8A1B37
secondary
#45BC9E
accent
#EABF3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1B37

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

Preview Lab → · Contrast checker → · Palette generator →

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