#8A1844#8A1844

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

Color values

HEX#8A1844
RGBrgb(138, 24, 68)
HSLhsl(337, 70%, 32%)
HSVhsv(337, 83%, 54%)
CMYKcmyk(0%, 82.6%, 50.7%, 45.9%)
CIE-LABlab(30.58, 49.02, 3.81)
CIE-LCHlch(30.58, 49.16, 4.45°)
OKLaboklab(42.12% 0.1502 0.0102)
OKLCHoklch(42.12% 0.151 3.9)
XYZxyz(11.8523, 6.4756, 6.0935)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1844 #188A5E
analogous
#8A187D #8A1844 #8A2518
triadic
#8A1844 #448A18 #18448A
tetradic
#8A1844 #7D8A18 #188A5E #25188A
square
#8A1844 #7D8A18 #188A5E #25188A
split-complementary
#8A1844 #188A25 #187D8A
monochromatic
#220611 #560F2A #8A1844 #BE215E #DE3F7C

Accessibility & contrast

On white

9.15
#8A1844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1844
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1844#FFFFFF#000000##FFFFFF
##8A18441.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A45
Deuteranopia (green-blind)
#545041
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1844;
/* rgb */ color: rgb(138, 24, 68);
/* oklch */ color: oklch(42.1% 0.151 3.9);
Tailwind
colors: {
  custom: {
    50: '#b26377',
    500: '#8a1844',
    950: '#000000',
  },
}
SCSS
$custom: #8a1844;
$custom-light: #b26377;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1844",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 336.842,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42121,
    "c": 0.15056,
    "h": 3.9
  },
  "luminance": 0.06474
}

Semantic roles & 50–950 ramp

primary
#8A1844
secondary
#40BD8D
accent
#EDA83B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1844

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

Preview Lab → · Contrast checker → · Palette generator →

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