#8A1C43#8A1C43

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

Color values

HEX#8A1C43
RGBrgb(138, 28, 67)
HSLhsl(339, 66%, 33%)
HSVhsv(339, 80%, 54%)
CMYKcmyk(0%, 79.7%, 51.4%, 45.9%)
CIE-LABlab(30.97, 47.73, 5.04)
CIE-LCHlch(30.97, 48.00, 6.02°)
OKLaboklab(42.4% 0.146 0.0133)
OKLCHoklch(42.4% 0.147 5.2)
XYZxyz(11.9107, 6.6407, 5.9637)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C43 #1C8A63
analogous
#8A1C7A #8A1C43 #8A2C1C
triadic
#8A1C43 #438A1C #1C438A
tetradic
#8A1C43 #7A8A1C #1C8A63 #2C1C8A
square
#8A1C43 #7A8A1C #1C8A63 #2C1C8A
split-complementary
#8A1C43 #1C8A2C #1C7A8A
monochromatic
#240712 #57122A #8A1C43 #BD265C #DA477B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1C43#FFFFFF#000000##FFFFFF
##8A1C431.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)
#383B44
Deuteranopia (green-blind)
#555140
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1c43;
/* rgb */ color: rgb(138, 28, 67);
/* oklch */ color: oklch(42.4% 0.147 5.2);
Tailwind
colors: {
  custom: {
    50: '#b26476',
    500: '#8a1c43',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c43;
$custom-light: #b26476;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c43",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 67
  },
  "hsl": {
    "h": 338.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.424,
    "c": 0.14657,
    "h": 5.2
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#8A1C43
secondary
#46BB92
accent
#E9AD3F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1C43

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

Preview Lab → · Contrast checker → · Palette generator →

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