#8A1342#8A1342

#8A1342 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.154 H 4.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#8A1342
RGBrgb(138, 19, 66)
HSLhsl(336, 76%, 31%)
HSVhsv(336, 86%, 54%)
CMYKcmyk(0%, 86.2%, 52.2%, 45.9%)
CIE-LABlab(30.07, 50.14, 4.41)
CIE-LCHlch(30.07, 50.33, 5.03°)
OKLaboklab(41.73% 0.1537 0.0117)
OKLCHoklch(41.73% 0.154 4.4)
XYZxyz(11.6986, 6.2641, 5.7463)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1342 #138A5B
analogous
#8A137D #8A1342 #8A2013
triadic
#8A1342 #428A13 #13428A
tetradic
#8A1342 #7D8A13 #138A5B #20138A
square
#8A1342 #7D8A13 #138A5B #20138A
split-complementary
#8A1342 #138A20 #137D8A
monochromatic
#1E040F #540C28 #8A1342 #C01A5C #E33479

Accessibility & contrast

On white

9.32
#8A1342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#8A1342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1342
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1342#FFFFFF#000000##FFFFFF
##8A13421.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343843
Deuteranopia (green-blind)
#534F3F
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1342;
/* rgb */ color: rgb(138, 19, 66);
/* oklch */ color: oklch(41.7% 0.154 4.4);
Tailwind
colors: {
  custom: {
    50: '#b26176',
    500: '#8a1342',
    950: '#000000',
  },
}
SCSS
$custom: #8a1342;
$custom-light: #b26176;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1342",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 336.303,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.1541,
    "h": 4.4
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#8A1342
secondary
#3ABE8A
accent
#F2A835
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1342

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

Preview Lab → · Contrast checker → · Palette generator →

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