#8A1B38#8A1B38

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

Color values

HEX#8A1B38
RGBrgb(138, 27, 56)
HSLhsl(344, 67%, 32%)
HSVhsv(344, 80%, 54%)
CMYKcmyk(0%, 80.4%, 59.4%, 45.9%)
CIE-LABlab(30.58, 47.16, 11.78)
CIE-LCHlch(30.58, 48.61, 14.03°)
OKLaboklab(42.02% 0.1426 0.0294)
OKLCHoklch(42.02% 0.146 11.6)
XYZxyz(11.5881, 6.4744, 4.3801)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B38 #1B8A6D
analogous
#8A1B70 #8A1B38 #8A351B
triadic
#8A1B38 #388A1B #1B388A
tetradic
#8A1B38 #708A1B #1B8A6D #351B8A
square
#8A1B38 #708A1B #1B8A6D #351B8A
split-complementary
#8A1B38 #1B8A35 #1B708A
monochromatic
#24070E #571123 #8A1B38 #BD254D #DB456C

Accessibility & contrast

On white

9.15
#8A1B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B38
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B38#FFFFFF#000000##FFFFFF
##8A1B381.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A38
Deuteranopia (green-blind)
#565035
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1b38;
/* rgb */ color: rgb(138, 27, 56);
/* oklch */ color: oklch(42.0% 0.146 11.6);
Tailwind
colors: {
  custom: {
    50: '#b2636e',
    500: '#8a1b38',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b38;
$custom-light: #b2636e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b38",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 56
  },
  "hsl": {
    "h": 344.324,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42016,
    "c": 0.14557,
    "h": 11.6
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#8A1B38
secondary
#45BC9D
accent
#EABD3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1B38

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

Preview Lab → · Contrast checker → · Palette generator →

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