#8A1E48#8A1E48

#8A1E48 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.146 H 2.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#8A1E48
RGBrgb(138, 30, 72)
HSLhsl(337, 64%, 33%)
HSVhsv(337, 78%, 54%)
CMYKcmyk(0%, 78.3%, 47.8%, 45.9%)
CIE-LABlab(31.35, 47.54, 2.27)
CIE-LCHlch(31.35, 47.60, 2.74°)
OKLaboklab(42.72% 0.1458 0.0063)
OKLCHoklch(42.72% 0.146 2.5)
XYZxyz(12.1162, 6.8013, 6.8044)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E48 #1E8A60
analogous
#8A1E7E #8A1E48 #8A2A1E
triadic
#8A1E48 #488A1E #1E488A
tetradic
#8A1E48 #7E8A1E #1E8A60 #2A1E8A
square
#8A1E48 #7E8A1E #1E8A60 #2A1E8A
split-complementary
#8A1E48 #1E8A2A #1E7E8A
monochromatic
#250814 #58132E #8A1E48 #BC2962 #D84B82

Accessibility & contrast

On white

8.90
#8A1E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A1E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E48
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E48#FFFFFF#000000##FFFFFF
##8A1E481.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C49
Deuteranopia (green-blind)
#555145
Tritanopia (blue-blind)
#960630
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1e48;
/* rgb */ color: rgb(138, 30, 72);
/* oklch */ color: oklch(42.7% 0.146 2.5);
Tailwind
colors: {
  custom: {
    50: '#b1657a',
    500: '#8a1e48',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e48;
$custom-light: #b1657a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e48",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 336.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.14591,
    "h": 2.5
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#8A1E48
secondary
#4ABA8E
accent
#E7A641
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1E48

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

Preview Lab → · Contrast checker → · Palette generator →

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