#8A1C4D#8A1C4D

#8A1C4D is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.150 H 359.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8A1C4D
RGBrgb(138, 28, 77)
HSLhsl(333, 66%, 33%)
HSVhsv(333, 80%, 54%)
CMYKcmyk(0%, 79.7%, 44.2%, 45.9%)
CIE-LABlab(31.28, 48.68, -1.13)
CIE-LCHlch(31.28, 48.69, 358.68°)
OKLaboklab(42.72% 0.1496 -0.0024)
OKLCHoklch(42.72% 0.15 359.1)
XYZxyz(12.2370, 6.7712, 7.6823)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C4D #1C8A59
analogous
#8A1C84 #8A1C4D #8A221C
triadic
#8A1C4D #4D8A1C #1C4D8A
tetradic
#8A1C4D #848A1C #1C8A59 #221C8A
square
#8A1C4D #848A1C #1C8A59 #221C8A
split-complementary
#8A1C4D #1C8A22 #1C848A
monochromatic
#240714 #571231 #8A1C4D #BD2669 #DA4788

Accessibility & contrast

On white

8.92
#8A1C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8A1C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C4D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C4D#FFFFFF#000000##FFFFFF
##8A1C4D1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4E
Deuteranopia (green-blind)
#53514A
Tritanopia (blue-blind)
#960632
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1c4d;
/* rgb */ color: rgb(138, 28, 77);
/* oklch */ color: oklch(42.7% 0.150 359.1);
Tailwind
colors: {
  custom: {
    50: '#b1647e',
    500: '#8a1c4d',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c4d;
$custom-light: #b1647e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c4d",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 333.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.14964,
    "h": 359.1
  },
  "luminance": 0.0677
}

Semantic roles & 50–950 ramp

primary
#8A1C4D
secondary
#46BB87
accent
#E99D3F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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