#8A1A48#8A1A48

#8A1A48 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.150 H 1.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8A1A48
RGBrgb(138, 26, 72)
HSLhsl(335, 68%, 32%)
HSVhsv(335, 81%, 54%)
CMYKcmyk(0%, 81.2%, 47.8%, 45.9%)
CIE-LABlab(30.91, 48.80, 1.63)
CIE-LCHlch(30.91, 48.83, 1.91°)
OKLaboklab(42.4% 0.1498 0.0047)
OKLCHoklch(42.4% 0.15 1.8)
XYZxyz(12.0213, 6.6116, 6.7728)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A48 #1A8A5C
analogous
#8A1A80 #8A1A48 #8A241A
triadic
#8A1A48 #488A1A #1A488A
tetradic
#8A1A48 #808A1A #1A8A5C #241A8A
square
#8A1A48 #808A1A #1A8A5C #241A8A
split-complementary
#8A1A48 #1A8A24 #1A808A
monochromatic
#230712 #57102D #8A1A48 #BD2463 #DC4382

Accessibility & contrast

On white

9.04
#8A1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8A1A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A48
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A48#FFFFFF#000000##FFFFFF
##8A1A481.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#96002F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1a48;
/* rgb */ color: rgb(138, 26, 72);
/* oklch */ color: oklch(42.4% 0.150 1.8);
Tailwind
colors: {
  custom: {
    50: '#b1637a',
    500: '#8a1a48',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a48;
$custom-light: #b1637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a48",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 335.357,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42398,
    "c": 0.14989,
    "h": 1.8
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#8A1A48
secondary
#43BD8B
accent
#EBA33D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1A48

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

Preview Lab → · Contrast checker → · Palette generator →

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