#8A1A41#8A1A41

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

Color values

HEX#8A1A41
RGBrgb(138, 26, 65)
HSLhsl(339, 68%, 32%)
HSVhsv(339, 81%, 54%)
CMYKcmyk(0%, 81.2%, 52.9%, 45.9%)
CIE-LABlab(30.70, 48.17, 5.97)
CIE-LCHlch(30.70, 48.54, 7.07°)
OKLaboklab(42.18% 0.1472 0.0156)
OKLCHoklch(42.18% 0.148 6)
XYZxyz(11.8058, 6.5254, 5.6379)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A41 #1A8A63
analogous
#8A1A79 #8A1A41 #8A2B1A
triadic
#8A1A41 #418A1A #1A418A
tetradic
#8A1A41 #798A1A #1A8A63 #2B1A8A
square
#8A1A41 #798A1A #1A8A63 #2B1A8A
split-complementary
#8A1A41 #1A8A2B #1A798A
monochromatic
#230710 #571029 #8A1A41 #BD2459 #DC4378

Accessibility & contrast

On white

9.11
#8A1A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A41
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A41#FFFFFF#000000##FFFFFF
##8A1A411.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A42
Deuteranopia (green-blind)
#55503E
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1a41;
/* rgb */ color: rgb(138, 26, 65);
/* oklch */ color: oklch(42.2% 0.148 6.0);
Tailwind
colors: {
  custom: {
    50: '#b26375',
    500: '#8a1a41',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a41;
$custom-light: #b26375;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a41",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 339.107,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4218,
    "c": 0.14801,
    "h": 6
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#8A1A41
secondary
#43BD92
accent
#EBAE3D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1A41

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

Preview Lab → · Contrast checker → · Palette generator →

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