#8A1A40#8A1A40

#8A1A40 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.148 H 6.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#8A1A40
RGBrgb(138, 26, 64)
HSLhsl(340, 68%, 32%)
HSVhsv(340, 81%, 54%)
CMYKcmyk(0%, 81.2%, 53.6%, 45.9%)
CIE-LABlab(30.67, 48.09, 6.60)
CIE-LCHlch(30.67, 48.54, 7.81°)
OKLaboklab(42.15% 0.1468 0.0171)
OKLCHoklch(42.15% 0.148 6.6)
XYZxyz(11.7771, 6.5139, 5.4867)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A40 #1A8A64
analogous
#8A1A78 #8A1A40 #8A2C1A
triadic
#8A1A40 #408A1A #1A408A
tetradic
#8A1A40 #788A1A #1A8A64 #2C1A8A
square
#8A1A40 #788A1A #1A8A64 #2C1A8A
split-complementary
#8A1A40 #1A8A2C #1A788A
monochromatic
#230710 #571028 #8A1A40 #BD2458 #DC4377

Accessibility & contrast

On white

9.12
#8A1A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8A1A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A40
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A40#FFFFFF#000000##FFFFFF
##8A1A401.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A41
Deuteranopia (green-blind)
#55503D
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1a40;
/* rgb */ color: rgb(138, 26, 64);
/* oklch */ color: oklch(42.2% 0.148 6.6);
Tailwind
colors: {
  custom: {
    50: '#b26374',
    500: '#8a1a40',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a40;
$custom-light: #b26374;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a40",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 339.643,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.14779,
    "h": 6.6
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#8A1A40
secondary
#43BD93
accent
#EBB03D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1A40

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

Preview Lab → · Contrast checker → · Palette generator →

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