#8A1836#8A1836

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

Color values

HEX#8A1836
RGBrgb(138, 24, 54)
HSLhsl(344, 70%, 32%)
HSVhsv(344, 83%, 54%)
CMYKcmyk(0%, 82.6%, 60.9%, 45.9%)
CIE-LABlab(30.22, 47.91, 12.62)
CIE-LCHlch(30.22, 49.54, 14.75°)
OKLaboklab(41.73% 0.1446 0.0312)
OKLCHoklch(41.73% 0.148 12.2)
XYZxyz(11.4749, 6.3246, 4.1059)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1836 #188A6C
analogous
#8A186F #8A1836 #8A3318
triadic
#8A1836 #368A18 #18368A
tetradic
#8A1836 #6F8A18 #188A6C #33188A
square
#8A1836 #6F8A18 #188A6C #33188A
split-complementary
#8A1836 #188A33 #186F8A
monochromatic
#22060D #560F22 #8A1836 #BE214A #DE3F69

Accessibility & contrast

On white

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

On black

2.26
#8A1836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A1836#FFFFFF#000000##FFFFFF
##8A18361.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393836
Deuteranopia (green-blind)
#564F33
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1836;
/* rgb */ color: rgb(138, 24, 54);
/* oklch */ color: oklch(41.7% 0.148 12.2);
Tailwind
colors: {
  custom: {
    50: '#b3626c',
    500: '#8a1836',
    950: '#000000',
  },
}
SCSS
$custom: #8a1836;
$custom-light: #b3626c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1836",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 344.211,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41734,
    "c": 0.14797,
    "h": 12.2
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#8A1836
secondary
#40BD9D
accent
#EDBE3B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1836

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

Preview Lab → · Contrast checker → · Palette generator →

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