#8A1839#8A1839

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

Color values

HEX#8A1839
RGBrgb(138, 24, 57)
HSLhsl(343, 70%, 32%)
HSVhsv(343, 83%, 54%)
CMYKcmyk(0%, 82.6%, 58.7%, 45.9%)
CIE-LABlab(30.29, 48.12, 10.72)
CIE-LCHlch(30.29, 49.30, 12.56°)
OKLaboklab(41.81% 0.1459 0.0269)
OKLCHoklch(41.81% 0.148 10.4)
XYZxyz(11.5475, 6.3537, 4.4884)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1839 #188A69
analogous
#8A1872 #8A1839 #8A3018
triadic
#8A1839 #398A18 #18398A
tetradic
#8A1839 #728A18 #188A69 #30188A
square
#8A1839 #728A18 #188A69 #30188A
split-complementary
#8A1839 #188A30 #18728A
monochromatic
#22060E #560F23 #8A1839 #BE214F #DE3F6D

Accessibility & contrast

On white

9.25
#8A1839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1839
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1839#FFFFFF#000000##FFFFFF
##8A18391.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393A
Deuteranopia (green-blind)
#555036
Tritanopia (blue-blind)
#970027
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1839;
/* rgb */ color: rgb(138, 24, 57);
/* oklch */ color: oklch(41.8% 0.148 10.4);
Tailwind
colors: {
  custom: {
    50: '#b2626f',
    500: '#8a1839',
    950: '#000000',
  },
}
SCSS
$custom: #8a1839;
$custom-light: #b2626f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1839",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 342.632,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41809,
    "c": 0.14833,
    "h": 10.4
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#8A1839
secondary
#40BD99
accent
#EDB93B
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1839

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

Preview Lab → · Contrast checker → · Palette generator →

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