#8A1F3E#8A1F3E

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

Color values

HEX#8A1F3E
RGBrgb(138, 31, 62)
HSLhsl(343, 63%, 33%)
HSVhsv(343, 78%, 54%)
CMYKcmyk(0%, 77.5%, 55.1%, 45.9%)
CIE-LABlab(31.19, 46.32, 8.65)
CIE-LCHlch(31.19, 47.12, 10.58°)
OKLaboklab(42.52% 0.1408 0.0221)
OKLCHoklch(42.52% 0.143 8.9)
XYZxyz(11.8418, 6.7327, 5.2325)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F3E #1F8A6B
analogous
#8A1F73 #8A1F3E #8A351F
triadic
#8A1F3E #3E8A1F #1F3E8A
tetradic
#8A1F3E #738A1F #1F8A6B #351F8A
square
#8A1F3E #738A1F #1F8A6B #351F8A
split-complementary
#8A1F3E #1F8A35 #1F738A
monochromatic
#260911 #581428 #8A1F3E #BC2A54 #D74C75

Accessibility & contrast

On white

8.95
#8A1F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8A1F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F3E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F3E#FFFFFF#000000##FFFFFF
##8A1F3E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C3F
Deuteranopia (green-blind)
#56513B
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f3e;
/* rgb */ color: rgb(138, 31, 62);
/* oklch */ color: oklch(42.5% 0.143 8.9);
Tailwind
colors: {
  custom: {
    50: '#b26573',
    500: '#8a1f3e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f3e;
$custom-light: #b26573;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f3e",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 62
  },
  "hsl": {
    "h": 342.617,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42515,
    "c": 0.14254,
    "h": 8.9
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#8A1F3E
secondary
#4BBA9A
accent
#E6B741
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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