#8A1F3A#8A1F3A

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

Color values

HEX#8A1F3A
RGBrgb(138, 31, 58)
HSLhsl(345, 63%, 33%)
HSVhsv(345, 78%, 54%)
CMYKcmyk(0%, 77.5%, 58%, 45.9%)
CIE-LABlab(31.09, 46.00, 11.16)
CIE-LCHlch(31.09, 47.33, 13.63°)
OKLaboklab(42.41% 0.1392 0.028)
OKLCHoklch(42.41% 0.142 11.4)
XYZxyz(11.7361, 6.6904, 4.6756)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F3A #1F8A6F
analogous
#8A1F6F #8A1F3A #8A391F
triadic
#8A1F3A #3A8A1F #1F3A8A
tetradic
#8A1F3A #6F8A1F #1F8A6F #391F8A
square
#8A1F3A #6F8A1F #1F8A6F #391F8A
split-complementary
#8A1F3A #1F8A39 #1F6F8A
monochromatic
#260910 #581425 #8A1F3A #BC2A4F #D74C6F

Accessibility & contrast

On white

8.98
#8A1F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F3A
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F3A#FFFFFF#000000##FFFFFF
##8A1F3A1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3B3A
Deuteranopia (green-blind)
#575137
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f3a;
/* rgb */ color: rgb(138, 31, 58);
/* oklch */ color: oklch(42.4% 0.142 11.4);
Tailwind
colors: {
  custom: {
    50: '#b2656f',
    500: '#8a1f3a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f3a;
$custom-light: #b2656f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f3a",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 58
  },
  "hsl": {
    "h": 344.86,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4241,
    "c": 0.14197,
    "h": 11.4
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#8A1F3A
secondary
#4BBA9E
accent
#E6BD41
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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