#8A1739#8A1739

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

Color values

HEX#8A1739
RGBrgb(138, 23, 57)
HSLhsl(342, 71%, 32%)
HSVhsv(342, 83%, 54%)
CMYKcmyk(0%, 83.3%, 58.7%, 45.9%)
CIE-LABlab(30.19, 48.40, 10.58)
CIE-LCHlch(30.19, 49.55, 12.33°)
OKLaboklab(41.74% 0.1468 0.0265)
OKLCHoklch(41.74% 0.149 10.2)
XYZxyz(11.5273, 6.3132, 4.4817)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1739 #178A68
analogous
#8A1773 #8A1739 #8A2F17
triadic
#8A1739 #398A17 #17398A
tetradic
#8A1739 #738A17 #178A68 #2F178A
square
#8A1739 #738A17 #178A68 #2F178A
split-complementary
#8A1739 #178A2F #17738A
monochromatic
#21060E #560E23 #8A1739 #BE204F #DF3D6D

Accessibility & contrast

On white

9.28
#8A1739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1739
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1739#FFFFFF#000000##FFFFFF
##8A17391.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38383A
Deuteranopia (green-blind)
#554F36
Tritanopia (blue-blind)
#970026
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1739;
/* rgb */ color: rgb(138, 23, 57);
/* oklch */ color: oklch(41.7% 0.149 10.2);
Tailwind
colors: {
  custom: {
    50: '#b3626f',
    500: '#8a1739',
    950: '#000000',
  },
}
SCSS
$custom: #8a1739;
$custom-light: #b3626f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1739",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 57
  },
  "hsl": {
    "h": 342.261,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41736,
    "c": 0.14916,
    "h": 10.2
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#8A1739
secondary
#3FBE98
accent
#EEB93A
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1739

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

Preview Lab → · Contrast checker → · Palette generator →

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