#8A1648#8A1648

#8A1648 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.153 H 1.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#8A1648
RGBrgb(138, 22, 72)
HSLhsl(334, 73%, 31%)
HSVhsv(334, 84%, 54%)
CMYKcmyk(0%, 84.1%, 47.8%, 45.9%)
CIE-LABlab(30.51, 49.92, 1.06)
CIE-LCHlch(30.51, 49.93, 1.21°)
OKLaboklab(42.11% 0.1534 0.0033)
OKLCHoklch(42.11% 0.153 1.2)
XYZxyz(11.9388, 6.4466, 6.7453)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1648 #168A58
analogous
#8A1682 #8A1648 #8A1E16
triadic
#8A1648 #488A16 #16488A
tetradic
#8A1648 #828A16 #168A58 #1E168A
square
#8A1648 #828A16 #168A58 #1E168A
split-complementary
#8A1648 #168A1E #16828A
monochromatic
#200511 #550E2C #8A1648 #BF1E64 #E03B82

Accessibility & contrast

On white

9.17
#8A1648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8A1648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1648
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1648#FFFFFF#000000##FFFFFF
##8A16481.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A49
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#96002D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1648;
/* rgb */ color: rgb(138, 22, 72);
/* oklch */ color: oklch(42.1% 0.153 1.2);
Tailwind
colors: {
  custom: {
    50: '#b2627a',
    500: '#8a1648',
    950: '#000000',
  },
}
SCSS
$custom: #8a1648;
$custom-light: #b2627a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1648",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 334.138,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42109,
    "c": 0.15346,
    "h": 1.2
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#8A1648
secondary
#3EBE87
accent
#EFA039
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1648

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

Preview Lab → · Contrast checker → · Palette generator →

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