#8A1E4B#8A1E4B

#8A1E4B is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.147 H 0.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8A1E4B
RGBrgb(138, 30, 75)
HSLhsl(335, 64%, 33%)
HSVhsv(335, 78%, 54%)
CMYKcmyk(0%, 78.3%, 45.7%, 45.9%)
CIE-LABlab(31.44, 47.84, 0.43)
CIE-LCHlch(31.44, 47.84, 0.51°)
OKLaboklab(42.82% 0.1469 0.0016)
OKLCHoklch(42.82% 0.147 0.6)
XYZxyz(12.2165, 6.8414, 7.3325)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E4B #1E8A5D
analogous
#8A1E81 #8A1E4B #8A271E
triadic
#8A1E4B #4B8A1E #1E4B8A
tetradic
#8A1E4B #818A1E #1E8A5D #271E8A
square
#8A1E4B #818A1E #1E8A5D #271E8A
split-complementary
#8A1E4B #1E8A27 #1E818A
monochromatic
#250814 #581330 #8A1E4B #BC2966 #D84B85

Accessibility & contrast

On white

8.87
#8A1E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A1E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E4B
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E4B#FFFFFF#000000##FFFFFF
##8A1E4B1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373D4C
Deuteranopia (green-blind)
#545149
Tritanopia (blue-blind)
#960832
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1e4b;
/* rgb */ color: rgb(138, 30, 75);
/* oklch */ color: oklch(42.8% 0.147 0.6);
Tailwind
colors: {
  custom: {
    50: '#b1657d',
    500: '#8a1e4b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e4b;
$custom-light: #b1657d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e4b",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 335,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42823,
    "c": 0.14687,
    "h": 0.6
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#8A1E4B
secondary
#4ABA8B
accent
#E7A241
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #8A1E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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