#8A1A3F#8A1A3F

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

Color values

HEX#8A1A3F
RGBrgb(138, 26, 63)
HSLhsl(340, 68%, 32%)
HSVhsv(340, 81%, 54%)
CMYKcmyk(0%, 81.2%, 54.3%, 45.9%)
CIE-LABlab(30.65, 48.01, 7.23)
CIE-LCHlch(30.65, 48.55, 8.56°)
OKLaboklab(42.12% 0.1464 0.0186)
OKLCHoklch(42.12% 0.148 7.2)
XYZxyz(11.7489, 6.5026, 5.3381)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A3F #1A8A65
analogous
#8A1A77 #8A1A3F #8A2D1A
triadic
#8A1A3F #3F8A1A #1A3F8A
tetradic
#8A1A3F #778A1A #1A8A65 #2D1A8A
square
#8A1A3F #778A1A #1A8A65 #2D1A8A
split-complementary
#8A1A3F #1A8A2D #1A778A
monochromatic
#230710 #571027 #8A1A3F #BD2457 #DC4375

Accessibility & contrast

On white

9.13
#8A1A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A3F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A3F#FFFFFF#000000##FFFFFF
##8A1A3F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A40
Deuteranopia (green-blind)
#55503C
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1a3f;
/* rgb */ color: rgb(138, 26, 63);
/* oklch */ color: oklch(42.1% 0.148 7.2);
Tailwind
colors: {
  custom: {
    50: '#b26373',
    500: '#8a1a3f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a3f;
$custom-light: #b26373;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a3f",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 63
  },
  "hsl": {
    "h": 340.179,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42123,
    "c": 0.14758,
    "h": 7.2
  },
  "luminance": 0.06501
}

Semantic roles & 50–950 ramp

primary
#8A1A3F
secondary
#43BD95
accent
#EBB23D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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