#8A1A49#8A1A49

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

Color values

HEX#8A1A49
RGBrgb(138, 26, 73)
HSLhsl(335, 68%, 32%)
HSVhsv(335, 81%, 54%)
CMYKcmyk(0%, 81.2%, 47.1%, 45.9%)
CIE-LABlab(30.94, 48.90, 1.01)
CIE-LCHlch(30.94, 48.91, 1.19°)
OKLaboklab(42.43% 0.1502 0.0031)
OKLCHoklch(42.43% 0.15 1.2)
XYZxyz(12.0542, 6.6247, 6.9460)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A49 #1A8A5B
analogous
#8A1A81 #8A1A49 #8A231A
triadic
#8A1A49 #498A1A #1A498A
tetradic
#8A1A49 #818A1A #1A8A5B #231A8A
square
#8A1A49 #818A1A #1A8A5B #231A8A
split-complementary
#8A1A49 #1A8A23 #1A818A
monochromatic
#230713 #57102E #8A1A49 #BD2464 #DC4383

Accessibility & contrast

On white

9.03
#8A1A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A49
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A49#FFFFFF#000000##FFFFFF
##8A1A491.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4A
Deuteranopia (green-blind)
#535146
Tritanopia (blue-blind)
#96002F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1a49;
/* rgb */ color: rgb(138, 26, 73);
/* oklch */ color: oklch(42.4% 0.150 1.2);
Tailwind
colors: {
  custom: {
    50: '#b1637b',
    500: '#8a1a49',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a49;
$custom-light: #b1637b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a49",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 334.821,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.15021,
    "h": 1.2
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#8A1A49
secondary
#43BD8A
accent
#EBA23D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1A49

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

Preview Lab → · Contrast checker → · Palette generator →

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