#8A1740#8A1740

#8A1740 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.150 H 6.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#8A1740
RGBrgb(138, 23, 64)
HSLhsl(339, 71%, 32%)
HSVhsv(339, 83%, 54%)
CMYKcmyk(0%, 83.3%, 53.6%, 45.9%)
CIE-LABlab(30.37, 48.95, 6.17)
CIE-LCHlch(30.37, 49.34, 7.19°)
OKLaboklab(41.93% 0.1496 0.016)
OKLCHoklch(41.93% 0.15 6.1)
XYZxyz(11.7141, 6.3879, 5.4657)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1740 #178A61
analogous
#8A177A #8A1740 #8A2817
triadic
#8A1740 #408A17 #17408A
tetradic
#8A1740 #7A8A17 #178A61 #28178A
square
#8A1740 #7A8A17 #178A61 #28178A
split-complementary
#8A1740 #178A28 #177A8A
monochromatic
#21060F #560E28 #8A1740 #BE2058 #DF3D76

Accessibility & contrast

On white

9.22
#8A1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1740
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1740#FFFFFF#000000##FFFFFF
##8A17401.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#54503D
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1740;
/* rgb */ color: rgb(138, 23, 64);
/* oklch */ color: oklch(41.9% 0.150 6.1);
Tailwind
colors: {
  custom: {
    50: '#b26274',
    500: '#8a1740',
    950: '#000000',
  },
}
SCSS
$custom: #8a1740;
$custom-light: #b26274;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1740",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 338.609,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41929,
    "c": 0.15044,
    "h": 6.1
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#8A1740
secondary
#3FBE91
accent
#EEAE3A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1740

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

Preview Lab → · Contrast checker → · Palette generator →

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