#8A1F6E#8A1F6E

#8A1F6E is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.164 H 340.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8A1F6E
RGBrgb(138, 31, 110)
HSLhsl(316, 63%, 33%)
HSVhsv(316, 78%, 54%)
CMYKcmyk(0%, 77.5%, 20.3%, 45.9%)
CIE-LABlab(32.94, 51.75, -19.98)
CIE-LCHlch(32.94, 55.48, 338.88°)
OKLaboklab(44.37% 0.1549 -0.0539)
OKLCHoklch(44.37% 0.164 340.8)
XYZxyz(13.7861, 7.5104, 15.4724)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F6E #1F8A3B
analogous
#701F8A #8A1F6E #8A1F38
triadic
#8A1F6E #6E8A1F #1F6E8A
tetradic
#8A1F6E #8A701F #1F8A3B #1F388A
square
#8A1F6E #8A701F #1F8A3B #1F388A
split-complementary
#8A1F6E #388A1F #1F8A70
monochromatic
#26091E #581446 #8A1F6E #BC2A96 #D74CB3

Accessibility & contrast

On white

8.39
#8A1F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A1F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F6E
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F6E#FFFFFF#000000##FFFFFF
##8A1F6E1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284370
Deuteranopia (green-blind)
#4B546C
Tritanopia (blue-blind)
#932244
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1f6e;
/* rgb */ color: rgb(138, 31, 110);
/* oklch */ color: oklch(44.4% 0.164 340.8);
Tailwind
colors: {
  custom: {
    50: '#b06797',
    500: '#8a1f6e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f6e;
$custom-light: #b06797;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f6e",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 315.701,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44367,
    "c": 0.16398,
    "h": 340.8
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#8A1F6E
secondary
#4BBA68
accent
#E66D41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A1F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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