#8A1841#8A1841

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

Color values

HEX#8A1841
RGBrgb(138, 24, 65)
HSLhsl(338, 70%, 32%)
HSVhsv(338, 83%, 54%)
CMYKcmyk(0%, 82.6%, 52.9%, 45.9%)
CIE-LABlab(30.50, 48.76, 5.68)
CIE-LCHlch(30.50, 49.09, 6.65°)
OKLaboklab(42.03% 0.1491 0.0148)
OKLCHoklch(42.03% 0.15 5.7)
XYZxyz(11.7631, 6.4399, 5.6236)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1841 #188A61
analogous
#8A187A #8A1841 #8A2818
triadic
#8A1841 #418A18 #18418A
tetradic
#8A1841 #7A8A18 #188A61 #28188A
square
#8A1841 #7A8A18 #188A61 #28188A
split-complementary
#8A1841 #188A28 #187A8A
monochromatic
#220610 #560F28 #8A1841 #BE215A #DE3F78

Accessibility & contrast

On white

9.18
#8A1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1841
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1841#FFFFFF#000000##FFFFFF
##8A18411.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363942
Deuteranopia (green-blind)
#54503E
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1841;
/* rgb */ color: rgb(138, 24, 65);
/* oklch */ color: oklch(42.0% 0.150 5.7);
Tailwind
colors: {
  custom: {
    50: '#b26375',
    500: '#8a1841',
    950: '#000000',
  },
}
SCSS
$custom: #8a1841;
$custom-light: #b26375;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1841",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 338.421,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.14981,
    "h": 5.7
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#8A1841
secondary
#40BD90
accent
#EDAD3B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1841

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

Preview Lab → · Contrast checker → · Palette generator →

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