#8A1743#8A1743

#8A1743 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.151 H 4.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#8A1743
RGBrgb(138, 23, 67)
HSLhsl(337, 71%, 32%)
HSVhsv(337, 83%, 54%)
CMYKcmyk(0%, 83.3%, 51.4%, 45.9%)
CIE-LABlab(30.46, 49.20, 4.30)
CIE-LCHlch(30.46, 49.39, 4.99°)
OKLaboklab(42.02% 0.1507 0.0114)
OKLCHoklch(42.02% 0.151 4.3)
XYZxyz(11.8018, 6.4230, 5.9274)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1743 #178A5E
analogous
#8A177D #8A1743 #8A2417
triadic
#8A1743 #438A17 #17438A
tetradic
#8A1743 #7D8A17 #178A5E #24178A
square
#8A1743 #7D8A17 #178A5E #24178A
split-complementary
#8A1743 #178A24 #177D8A
monochromatic
#210610 #560E2A #8A1743 #BE205C #DF3D7B

Accessibility & contrast

On white

9.19
#8A1743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A1743 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1743
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1743#FFFFFF#000000##FFFFFF
##8A17431.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353944
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1743;
/* rgb */ color: rgb(138, 23, 67);
/* oklch */ color: oklch(42.0% 0.151 4.3);
Tailwind
colors: {
  custom: {
    50: '#b26276',
    500: '#8a1743',
    950: '#000000',
  },
}
SCSS
$custom: #8a1743;
$custom-light: #b26276;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1743",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 67
  },
  "hsl": {
    "h": 337.043,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42018,
    "c": 0.15116,
    "h": 4.3
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#8A1743
secondary
#3FBE8D
accent
#EEA93A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1743

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

Preview Lab → · Contrast checker → · Palette generator →

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