#8A1A46#8A1A46

#8A1A46 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.149 H 3.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8A1A46
RGBrgb(138, 26, 70)
HSLhsl(336, 68%, 32%)
HSVhsv(336, 81%, 54%)
CMYKcmyk(0%, 81.2%, 49.3%, 45.9%)
CIE-LABlab(30.84, 48.62, 2.86)
CIE-LCHlch(30.84, 48.70, 3.37°)
OKLaboklab(42.33% 0.1491 0.0078)
OKLCHoklch(42.33% 0.149 3)
XYZxyz(11.9571, 6.5859, 6.4347)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A46 #1A8A5E
analogous
#8A1A7E #8A1A46 #8A261A
triadic
#8A1A46 #468A1A #1A468A
tetradic
#8A1A46 #7E8A1A #1A8A5E #261A8A
square
#8A1A46 #7E8A1A #1A8A5E #261A8A
split-complementary
#8A1A46 #1A8A26 #1A7E8A
monochromatic
#230712 #57102C #8A1A46 #BD2460 #DC437F

Accessibility & contrast

On white

9.06
#8A1A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A46
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A46#FFFFFF#000000##FFFFFF
##8A1A461.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B47
Deuteranopia (green-blind)
#545043
Tritanopia (blue-blind)
#97002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1a46;
/* rgb */ color: rgb(138, 26, 70);
/* oklch */ color: oklch(42.3% 0.149 3.0);
Tailwind
colors: {
  custom: {
    50: '#b26379',
    500: '#8a1a46',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a46;
$custom-light: #b26379;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a46",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 70
  },
  "hsl": {
    "h": 336.429,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42333,
    "c": 0.1493,
    "h": 3
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#8A1A46
secondary
#43BD8D
accent
#EBA73D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1A46

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

Preview Lab → · Contrast checker → · Palette generator →

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