#8A1937#8A1937

#8A1937 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.147 H 11.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#8A1937
RGBrgb(138, 25, 55)
HSLhsl(344, 69%, 32%)
HSVhsv(344, 82%, 54%)
CMYKcmyk(0%, 81.9%, 60.1%, 45.9%)
CIE-LABlab(30.34, 47.69, 12.12)
CIE-LCHlch(30.34, 49.21, 14.26°)
OKLaboklab(41.83% 0.1441 0.0301)
OKLCHoklch(41.83% 0.147 11.8)
XYZxyz(11.5196, 6.3761, 4.2378)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1937 #198A6C
analogous
#8A1970 #8A1937 #8A3419
triadic
#8A1937 #378A19 #19378A
tetradic
#8A1937 #708A19 #198A6C #34198A
square
#8A1937 #708A19 #198A6C #34198A
split-complementary
#8A1937 #198A34 #19708A
monochromatic
#22060E #561022 #8A1937 #BE224C #DD416A

Accessibility & contrast

On white

9.23
#8A1937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8A1937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1937
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1937#FFFFFF#000000##FFFFFF
##8A19371.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393937
Deuteranopia (green-blind)
#565034
Tritanopia (blue-blind)
#970026
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1937;
/* rgb */ color: rgb(138, 25, 55);
/* oklch */ color: oklch(41.8% 0.147 11.8);
Tailwind
colors: {
  custom: {
    50: '#b3636d',
    500: '#8a1937',
    950: '#000000',
  },
}
SCSS
$custom: #8a1937;
$custom-light: #b3636d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1937",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 344.071,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41833,
    "c": 0.14723,
    "h": 11.8
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#8A1937
secondary
#42BD9C
accent
#ECBD3C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1937

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

Preview Lab → · Contrast checker → · Palette generator →

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