#8A1F3D#8A1F3D

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

Color values

HEX#8A1F3D
RGBrgb(138, 31, 61)
HSLhsl(343, 63%, 33%)
HSVhsv(343, 78%, 54%)
CMYKcmyk(0%, 77.5%, 55.8%, 45.9%)
CIE-LABlab(31.16, 46.24, 9.28)
CIE-LCHlch(31.16, 47.16, 11.34°)
OKLaboklab(42.49% 0.1404 0.0236)
OKLCHoklch(42.49% 0.142 9.5)
XYZxyz(11.8146, 6.7218, 5.0893)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F3D #1F8A6C
analogous
#8A1F72 #8A1F3D #8A371F
triadic
#8A1F3D #3D8A1F #1F3D8A
tetradic
#8A1F3D #728A1F #1F8A6C #371F8A
square
#8A1F3D #728A1F #1F8A6C #371F8A
split-complementary
#8A1F3D #1F8A37 #1F728A
monochromatic
#260911 #581427 #8A1F3D #BC2A53 #D74C73

Accessibility & contrast

On white

8.96
#8A1F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F3D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F3D#FFFFFF#000000##FFFFFF
##8A1F3D1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C3E
Deuteranopia (green-blind)
#57513A
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f3d;
/* rgb */ color: rgb(138, 31, 61);
/* oklch */ color: oklch(42.5% 0.142 9.5);
Tailwind
colors: {
  custom: {
    50: '#b26572',
    500: '#8a1f3d',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f3d;
$custom-light: #b26572;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f3d",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 343.178,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42488,
    "c": 0.14237,
    "h": 9.5
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#8A1F3D
secondary
#4BBA9B
accent
#E6B841
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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