#8A1A47#8A1A47

#8A1A47 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.150 H 2.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#8A1A47
RGBrgb(138, 26, 71)
HSLhsl(336, 68%, 32%)
HSVhsv(336, 81%, 54%)
CMYKcmyk(0%, 81.2%, 48.6%, 45.9%)
CIE-LABlab(30.88, 48.71, 2.25)
CIE-LCHlch(30.88, 48.76, 2.64°)
OKLaboklab(42.37% 0.1495 0.0063)
OKLCHoklch(42.37% 0.15 2.4)
XYZxyz(11.9890, 6.5986, 6.6024)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A47 #1A8A5D
analogous
#8A1A7F #8A1A47 #8A251A
triadic
#8A1A47 #478A1A #1A478A
tetradic
#8A1A47 #7F8A1A #1A8A5D #251A8A
square
#8A1A47 #7F8A1A #1A8A5D #251A8A
split-complementary
#8A1A47 #1A8A25 #1A7F8A
monochromatic
#230712 #57102D #8A1A47 #BD2461 #DC4380

Accessibility & contrast

On white

9.05
#8A1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8A1A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A47
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A47#FFFFFF#000000##FFFFFF
##8A1A471.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#545044
Tritanopia (blue-blind)
#96002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1a47;
/* rgb */ color: rgb(138, 26, 71);
/* oklch */ color: oklch(42.4% 0.150 2.4);
Tailwind
colors: {
  custom: {
    50: '#b1637a',
    500: '#8a1a47',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a47;
$custom-light: #b1637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a47",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 335.893,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42365,
    "c": 0.14959,
    "h": 2.4
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#8A1A47
secondary
#43BD8C
accent
#EBA53D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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