#8A1C4B#8A1C4B

#8A1C4B is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.149 H 0.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8A1C4B
RGBrgb(138, 28, 75)
HSLhsl(334, 66%, 33%)
HSVhsv(334, 80%, 54%)
CMYKcmyk(0%, 79.7%, 45.7%, 45.9%)
CIE-LABlab(31.22, 48.48, 0.10)
CIE-LCHlch(31.22, 48.48, 0.12°)
OKLaboklab(42.66% 0.1489 0.0008)
OKLCHoklch(42.66% 0.149 0.3)
XYZxyz(12.1675, 6.7434, 7.3161)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C4B #1C8A5B
analogous
#8A1C82 #8A1C4B #8A241C
triadic
#8A1C4B #4B8A1C #1C4B8A
tetradic
#8A1C4B #828A1C #1C8A5B #241C8A
square
#8A1C4B #828A1C #1C8A5B #241C8A
split-complementary
#8A1C4B #1C8A24 #1C828A
monochromatic
#240714 #57122F #8A1C4B #BD2667 #DA4786

Accessibility & contrast

On white

8.94
#8A1C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1C4B
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C4B#FFFFFF#000000##FFFFFF
##8A1C4B1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4C
Deuteranopia (green-blind)
#535148
Tritanopia (blue-blind)
#960431
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1c4b;
/* rgb */ color: rgb(138, 28, 75);
/* oklch */ color: oklch(42.7% 0.149 0.3);
Tailwind
colors: {
  custom: {
    50: '#b1647d',
    500: '#8a1c4b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c4b;
$custom-light: #b1647d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c4b",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 75
  },
  "hsl": {
    "h": 334.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.14893,
    "h": 0.3
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#8A1C4B
secondary
#46BB89
accent
#E9A03F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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