#8A1F3F#8A1F3F

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

Color values

HEX#8A1F3F
RGBrgb(138, 31, 63)
HSLhsl(342, 63%, 33%)
HSVhsv(342, 78%, 54%)
CMYKcmyk(0%, 77.5%, 54.3%, 45.9%)
CIE-LABlab(31.22, 46.40, 8.03)
CIE-LCHlch(31.22, 47.09, 9.81°)
OKLaboklab(42.54% 0.1412 0.0206)
OKLCHoklch(42.54% 0.143 8.3)
XYZxyz(11.8695, 6.7438, 5.3783)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F3F #1F8A6A
analogous
#8A1F74 #8A1F3F #8A341F
triadic
#8A1F3F #3F8A1F #1F3F8A
tetradic
#8A1F3F #748A1F #1F8A6A #341F8A
square
#8A1F3F #748A1F #1F8A6A #341F8A
split-complementary
#8A1F3F #1F8A34 #1F748A
monochromatic
#260911 #581428 #8A1F3F #BC2A56 #D74C76

Accessibility & contrast

On white

8.94
#8A1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F3F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F3F#FFFFFF#000000##FFFFFF
##8A1F3F1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C40
Deuteranopia (green-blind)
#56513C
Tritanopia (blue-blind)
#97012D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f3f;
/* rgb */ color: rgb(138, 31, 63);
/* oklch */ color: oklch(42.5% 0.143 8.3);
Tailwind
colors: {
  custom: {
    50: '#b26573',
    500: '#8a1f3f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f3f;
$custom-light: #b26573;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f3f",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 342.056,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42543,
    "c": 0.14271,
    "h": 8.3
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#8A1F3F
secondary
#4BBA99
accent
#E6B541
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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