#8A1347#8A1347

#8A1347 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.156 H 1.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#8A1347
RGBrgb(138, 19, 71)
HSLhsl(334, 76%, 31%)
HSVhsv(334, 86%, 54%)
CMYKcmyk(0%, 86.2%, 48.6%, 45.9%)
CIE-LABlab(30.22, 50.58, 1.30)
CIE-LCHlch(30.22, 50.60, 1.47°)
OKLaboklab(41.89% 0.1555 0.0039)
OKLCHoklch(41.89% 0.156 1.4)
XYZxyz(11.8525, 6.3256, 6.5569)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1347 #138A56
analogous
#8A1382 #8A1347 #8A1B13
triadic
#8A1347 #478A13 #13478A
tetradic
#8A1347 #828A13 #138A56 #1B138A
square
#8A1347 #828A13 #138A56 #1B138A
split-complementary
#8A1347 #138A1B #13828A
monochromatic
#1E0410 #540C2B #8A1347 #C01A63 #E33481

Accessibility & contrast

On white

9.27
#8A1347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8A1347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1347
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1347#FFFFFF#000000##FFFFFF
##8A13471.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333948
Deuteranopia (green-blind)
#524F44
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1347;
/* rgb */ color: rgb(138, 19, 71);
/* oklch */ color: oklch(41.9% 0.156 1.4);
Tailwind
colors: {
  custom: {
    50: '#b2617a',
    500: '#8a1347',
    950: '#000000',
  },
}
SCSS
$custom: #8a1347;
$custom-light: #b2617a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1347",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 71
  },
  "hsl": {
    "h": 333.782,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41885,
    "c": 0.15555,
    "h": 1.4
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#8A1347
secondary
#3ABE85
accent
#F2A035
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1347

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

Preview Lab → · Contrast checker → · Palette generator →

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