#8A1847#8A1847

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

Color values

HEX#8A1847
RGBrgb(138, 24, 71)
HSLhsl(335, 70%, 32%)
HSVhsv(335, 83%, 54%)
CMYKcmyk(0%, 82.6%, 48.6%, 45.9%)
CIE-LABlab(30.67, 49.29, 1.95)
CIE-LCHlch(30.67, 49.32, 2.27°)
OKLaboklab(42.22% 0.1513 0.0055)
OKLCHoklch(42.22% 0.151 2.1)
XYZxyz(11.9462, 6.5131, 6.5881)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1847 #188A5B
analogous
#8A1880 #8A1847 #8A2218
triadic
#8A1847 #478A18 #18478A
tetradic
#8A1847 #808A18 #188A5B #22188A
square
#8A1847 #808A18 #188A5B #22188A
split-complementary
#8A1847 #188A22 #18808A
monochromatic
#220611 #560F2C #8A1847 #BE2162 #DE3F80

Accessibility & contrast

On white

9.12
#8A1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1847
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1847#FFFFFF#000000##FFFFFF
##8A18471.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A48
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#96002D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1847;
/* rgb */ color: rgb(138, 24, 71);
/* oklch */ color: oklch(42.2% 0.151 2.1);
Tailwind
colors: {
  custom: {
    50: '#b2637a',
    500: '#8a1847',
    950: '#000000',
  },
}
SCSS
$custom: #8a1847;
$custom-light: #b2637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1847",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 335.263,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.15142,
    "h": 2.1
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#8A1847
secondary
#40BD8A
accent
#EDA43B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1847

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

Preview Lab → · Contrast checker → · Palette generator →

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