#8A1747#8A1747

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

Color values

HEX#8A1747
RGBrgb(138, 23, 71)
HSLhsl(335, 71%, 32%)
HSVhsv(335, 83%, 54%)
CMYKcmyk(0%, 83.3%, 48.6%, 45.9%)
CIE-LABlab(30.57, 49.56, 1.81)
CIE-LCHlch(30.57, 49.59, 2.09°)
OKLaboklab(42.15% 0.1522 0.0052)
OKLCHoklch(42.15% 0.152 1.9)
XYZxyz(11.9260, 6.4727, 6.5814)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1747 #178A5A
analogous
#8A1781 #8A1747 #8A2117
triadic
#8A1747 #478A17 #17478A
tetradic
#8A1747 #818A17 #178A5A #21178A
square
#8A1747 #818A17 #178A5A #21178A
split-complementary
#8A1747 #178A21 #17818A
monochromatic
#210611 #560E2C #8A1747 #BE2062 #DF3D80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1747#FFFFFF#000000##FFFFFF
##8A17471.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)
#343A48
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#96002D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1747;
/* rgb */ color: rgb(138, 23, 71);
/* oklch */ color: oklch(42.1% 0.152 1.9);
Tailwind
colors: {
  custom: {
    50: '#b2627a',
    500: '#8a1747',
    950: '#000000',
  },
}
SCSS
$custom: #8a1747;
$custom-light: #b2627a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1747",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 334.957,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42145,
    "c": 0.1523,
    "h": 1.9
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#8A1747
secondary
#3FBE89
accent
#EEA33A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1747

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

Preview Lab → · Contrast checker → · Palette generator →

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