#8A1846#8A1846

#8A1846 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.151 H 2.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#8A1846
RGBrgb(138, 24, 70)
HSLhsl(336, 70%, 32%)
HSVhsv(336, 83%, 54%)
CMYKcmyk(0%, 82.6%, 49.3%, 45.9%)
CIE-LABlab(30.64, 49.19, 2.57)
CIE-LCHlch(30.64, 49.26, 2.99°)
OKLaboklab(42.18% 0.151 0.0071)
OKLCHoklch(42.18% 0.151 2.7)
XYZxyz(11.9144, 6.5004, 6.4205)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1846 #188A5C
analogous
#8A187F #8A1846 #8A2318
triadic
#8A1846 #468A18 #18468A
tetradic
#8A1846 #7F8A18 #188A5C #23188A
square
#8A1846 #7F8A18 #188A5C #23188A
split-complementary
#8A1846 #188A23 #187F8A
monochromatic
#220611 #560F2C #8A1846 #BE2160 #DE3F7F

Accessibility & contrast

On white

9.13
#8A1846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8A1846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1846
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1846#FFFFFF#000000##FFFFFF
##8A18461.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A47
Deuteranopia (green-blind)
#535043
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1846;
/* rgb */ color: rgb(138, 24, 70);
/* oklch */ color: oklch(42.2% 0.151 2.7);
Tailwind
colors: {
  custom: {
    50: '#b26379',
    500: '#8a1846',
    950: '#000000',
  },
}
SCSS
$custom: #8a1846;
$custom-light: #b26379;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1846",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 335.789,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42184,
    "c": 0.15113,
    "h": 2.7
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#8A1846
secondary
#40BD8B
accent
#EDA53B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1846

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

Preview Lab → · Contrast checker → · Palette generator →

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