#8A1F3C#8A1F3C

#8A1F3C is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.142 H 10.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#8A1F3C
RGBrgb(138, 31, 60)
HSLhsl(344, 63%, 33%)
HSVhsv(344, 78%, 54%)
CMYKcmyk(0%, 77.5%, 56.5%, 45.9%)
CIE-LABlab(31.14, 46.16, 9.90)
CIE-LCHlch(31.14, 47.21, 12.11°)
OKLaboklab(42.46% 0.14 0.025)
OKLCHoklch(42.46% 0.142 10.1)
XYZxyz(11.7879, 6.7112, 4.9488)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F3C #1F8A6D
analogous
#8A1F71 #8A1F3C #8A371F
triadic
#8A1F3C #3C8A1F #1F3C8A
tetradic
#8A1F3C #718A1F #1F8A6D #371F8A
square
#8A1F3C #718A1F #1F8A6D #371F8A
split-complementary
#8A1F3C #1F8A37 #1F718A
monochromatic
#260911 #581426 #8A1F3C #BC2A52 #D74C72

Accessibility & contrast

On white

8.97
#8A1F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8A1F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F3C
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F3C#FFFFFF#000000##FFFFFF
##8A1F3C1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B3C
Deuteranopia (green-blind)
#575139
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f3c;
/* rgb */ color: rgb(138, 31, 60);
/* oklch */ color: oklch(42.5% 0.142 10.1);
Tailwind
colors: {
  custom: {
    50: '#b26571',
    500: '#8a1f3c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f3c;
$custom-light: #b26571;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f3c",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 60
  },
  "hsl": {
    "h": 343.738,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42461,
    "c": 0.14222,
    "h": 10.1
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#8A1F3C
secondary
#4BBA9C
accent
#E6BA41
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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