#8A1337#8A1337

#8A1337 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.152 H 10.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#8A1337
RGBrgb(138, 19, 55)
HSLhsl(342, 76%, 31%)
HSVhsv(342, 86%, 54%)
CMYKcmyk(0%, 86.2%, 60.1%, 45.9%)
CIE-LABlab(29.78, 49.29, 11.36)
CIE-LCHlch(29.78, 50.58, 12.97°)
OKLaboklab(41.42% 0.1493 0.0283)
OKLCHoklch(41.42% 0.152 10.7)
XYZxyz(11.4049, 6.1466, 4.1996)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1337 #138A66
analogous
#8A1372 #8A1337 #8A2B13
triadic
#8A1337 #378A13 #13378A
tetradic
#8A1337 #728A13 #138A66 #2B138A
square
#8A1337 #728A13 #138A66 #2B138A
split-complementary
#8A1337 #138A2B #13728A
monochromatic
#1E040C #540C22 #8A1337 #C01A4C #E33469

Accessibility & contrast

On white

9.42
#8A1337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#8A1337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1337
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1337#FFFFFF#000000##FFFFFF
##8A13371.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373738
Deuteranopia (green-blind)
#554F34
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a1337;
/* rgb */ color: rgb(138, 19, 55);
/* oklch */ color: oklch(41.4% 0.152 10.7);
Tailwind
colors: {
  custom: {
    50: '#b3616d',
    500: '#8a1337',
    950: '#000000',
  },
}
SCSS
$custom: #8a1337;
$custom-light: #b3616d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1337",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 341.849,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.15197,
    "h": 10.7
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#8A1337
secondary
#3ABE96
accent
#F2B935
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1337

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

Preview Lab → · Contrast checker → · Palette generator →

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