#8A1A38#8A1A38

#8A1A38 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.146 H 11.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#8A1A38
RGBrgb(138, 26, 56)
HSLhsl(344, 68%, 32%)
HSVhsv(344, 81%, 54%)
CMYKcmyk(0%, 81.2%, 59.4%, 45.9%)
CIE-LABlab(30.47, 47.46, 11.63)
CIE-LCHlch(30.47, 48.87, 13.77°)
OKLaboklab(41.94% 0.1436 0.029)
OKLCHoklch(41.94% 0.146 11.4)
XYZxyz(11.5656, 6.4293, 4.3726)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A38 #1A8A6C
analogous
#8A1A70 #8A1A38 #8A341A
triadic
#8A1A38 #388A1A #1A388A
tetradic
#8A1A38 #708A1A #1A8A6C #341A8A
square
#8A1A38 #708A1A #1A8A6C #341A8A
split-complementary
#8A1A38 #1A8A34 #1A708A
monochromatic
#23070E #571023 #8A1A38 #BD244D #DC436C

Accessibility & contrast

On white

9.19
#8A1A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8A1A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A38
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A38#FFFFFF#000000##FFFFFF
##8A1A381.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#565035
Tritanopia (blue-blind)
#970027
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1a38;
/* rgb */ color: rgb(138, 26, 56);
/* oklch */ color: oklch(41.9% 0.146 11.4);
Tailwind
colors: {
  custom: {
    50: '#b2636e',
    500: '#8a1a38',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a38;
$custom-light: #b2636e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a38",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 343.929,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41936,
    "c": 0.14647,
    "h": 11.4
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#8A1A38
secondary
#43BD9C
accent
#EBBC3D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1A38

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

Preview Lab → · Contrast checker → · Palette generator →

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