#8A1837#8A1837

#8A1837 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.148 H 11.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#8A1837
RGBrgb(138, 24, 55)
HSLhsl(344, 70%, 32%)
HSVhsv(344, 83%, 54%)
CMYKcmyk(0%, 82.6%, 60.1%, 45.9%)
CIE-LABlab(30.24, 47.98, 11.98)
CIE-LCHlch(30.24, 49.45, 14.02°)
OKLaboklab(41.76% 0.1451 0.0298)
OKLCHoklch(41.76% 0.148 11.6)
XYZxyz(11.4986, 6.3341, 4.2308)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1837 #188A6B
analogous
#8A1870 #8A1837 #8A3218
triadic
#8A1837 #378A18 #18378A
tetradic
#8A1837 #708A18 #188A6B #32188A
square
#8A1837 #708A18 #188A6B #32188A
split-complementary
#8A1837 #188A32 #18708A
monochromatic
#22060D #560F22 #8A1837 #BE214C #DE3F6A

Accessibility & contrast

On white

9.27
#8A1837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1837
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1837#FFFFFF#000000##FFFFFF
##8A18371.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393837
Deuteranopia (green-blind)
#564F34
Tritanopia (blue-blind)
#970026
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1837;
/* rgb */ color: rgb(138, 24, 55);
/* oklch */ color: oklch(41.8% 0.148 11.6);
Tailwind
colors: {
  custom: {
    50: '#b3626d',
    500: '#8a1837',
    950: '#000000',
  },
}
SCSS
$custom: #8a1837;
$custom-light: #b3626d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1837",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 343.684,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41758,
    "c": 0.14809,
    "h": 11.6
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#8A1837
secondary
#40BD9B
accent
#EDBD3B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1837

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

Preview Lab → · Contrast checker → · Palette generator →

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