#8A1B47#8A1B47

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

Color values

HEX#8A1B47
RGBrgb(138, 27, 71)
HSLhsl(336, 67%, 32%)
HSVhsv(336, 80%, 54%)
CMYKcmyk(0%, 80.4%, 48.6%, 45.9%)
CIE-LABlab(30.98, 48.41, 2.40)
CIE-LCHlch(30.98, 48.47, 2.84°)
OKLaboklab(42.44% 0.1485 0.0067)
OKLCHoklch(42.44% 0.149 2.6)
XYZxyz(12.0115, 6.6437, 6.6099)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B47 #1B8A5E
analogous
#8A1B7F #8A1B47 #8A261B
triadic
#8A1B47 #478A1B #1B478A
tetradic
#8A1B47 #7F8A1B #1B8A5E #261B8A
square
#8A1B47 #7F8A1B #1B8A5E #261B8A
split-complementary
#8A1B47 #1B8A26 #1B7F8A
monochromatic
#240712 #57112D #8A1B47 #BD2561 #DB4580

Accessibility & contrast

On white

9.02
#8A1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B47
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B47#FFFFFF#000000##FFFFFF
##8A1B471.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1b47;
/* rgb */ color: rgb(138, 27, 71);
/* oklch */ color: oklch(42.4% 0.149 2.6);
Tailwind
colors: {
  custom: {
    50: '#b1647a',
    500: '#8a1b47',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b47;
$custom-light: #b1647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b47",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 336.216,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42443,
    "c": 0.14863,
    "h": 2.6
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#8A1B47
secondary
#45BC8D
accent
#EAA63E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1B47

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

Preview Lab → · Contrast checker → · Palette generator →

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