#8A1E6B#8A1E6B

#8A1E6B is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.163 H 342.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8A1E6B
RGBrgb(138, 30, 107)
HSLhsl(317, 64%, 33%)
HSVhsv(317, 78%, 54%)
CMYKcmyk(0%, 78.3%, 22.5%, 45.9%)
CIE-LABlab(32.69, 51.65, -18.46)
CIE-LCHlch(32.69, 54.85, 340.33°)
OKLaboklab(44.14% 0.1554 -0.0496)
OKLCHoklch(44.14% 0.163 342.3)
XYZxyz(13.5998, 7.3948, 14.6182)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E6B #1E8A3D
analogous
#731E8A #8A1E6B #8A1E35
triadic
#8A1E6B #6B8A1E #1E6B8A
tetradic
#8A1E6B #8A731E #1E8A3D #1E358A
square
#8A1E6B #8A731E #1E8A3D #1E358A
split-complementary
#8A1E6B #358A1E #1E8A73
monochromatic
#25081D #581344 #8A1E6B #BC2992 #D84BAF

Accessibility & contrast

On white

8.47
#8A1E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A1E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E6B
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E6B#FFFFFF#000000##FFFFFF
##8A1E6B1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29426D
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#931F42
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1e6b;
/* rgb */ color: rgb(138, 30, 107);
/* oklch */ color: oklch(44.1% 0.163 342.3);
Tailwind
colors: {
  custom: {
    50: '#b06695',
    500: '#8a1e6b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e6b;
$custom-light: #b06695;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e6b",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 317.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44138,
    "c": 0.16309,
    "h": 342.3
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#8A1E6B
secondary
#4ABA6A
accent
#E77041
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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