#8A1F39#8A1F39

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

Color values

HEX#8A1F39
RGBrgb(138, 31, 57)
HSLhsl(345, 63%, 33%)
HSVhsv(345, 78%, 54%)
CMYKcmyk(0%, 77.5%, 58.7%, 45.9%)
CIE-LABlab(31.07, 45.92, 11.78)
CIE-LCHlch(31.07, 47.41, 14.39°)
OKLaboklab(42.38% 0.1388 0.0294)
OKLCHoklch(42.38% 0.142 12)
XYZxyz(11.7109, 6.6803, 4.5429)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F39 #1F8A70
analogous
#8A1F6E #8A1F39 #8A3B1F
triadic
#8A1F39 #398A1F #1F398A
tetradic
#8A1F39 #6E8A1F #1F8A70 #3B1F8A
square
#8A1F39 #6E8A1F #1F8A70 #3B1F8A
split-complementary
#8A1F39 #1F8A3B #1F6E8A
monochromatic
#260910 #581424 #8A1F39 #BC2A4E #D74C6E

Accessibility & contrast

On white

8.99
#8A1F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F39
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F39#FFFFFF#000000##FFFFFF
##8A1F391.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1f39;
/* rgb */ color: rgb(138, 31, 57);
/* oklch */ color: oklch(42.4% 0.142 12.0);
Tailwind
colors: {
  custom: {
    50: '#b2656f',
    500: '#8a1f39',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f39;
$custom-light: #b2656f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f39",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 345.421,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42384,
    "c": 0.14185,
    "h": 12
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#8A1F39
secondary
#4BBA9F
accent
#E6BE41
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1F39

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

Preview Lab → · Contrast checker → · Palette generator →

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