#8A1F37#8A1F37

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

Color values

HEX#8A1F37
RGBrgb(138, 31, 55)
HSLhsl(347, 63%, 33%)
HSVhsv(347, 78%, 54%)
CMYKcmyk(0%, 77.5%, 60.1%, 45.9%)
CIE-LABlab(31.02, 45.77, 13.04)
CIE-LCHlch(31.02, 47.60, 15.90°)
OKLaboklab(42.34% 0.138 0.0323)
OKLCHoklch(42.34% 0.142 13.2)
XYZxyz(11.6620, 6.6608, 4.2853)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F37 #1F8A72
analogous
#8A1F6C #8A1F37 #8A3C1F
triadic
#8A1F37 #378A1F #1F378A
tetradic
#8A1F37 #6C8A1F #1F8A72 #3C1F8A
square
#8A1F37 #6C8A1F #1F8A72 #3C1F8A
split-complementary
#8A1F37 #1F8A3C #1F6C8A
monochromatic
#26090F #581423 #8A1F37 #BC2A4B #D74C6C

Accessibility & contrast

On white

9.01
#8A1F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F37
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F37#FFFFFF#000000##FFFFFF
##8A1F371.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3B37
Deuteranopia (green-blind)
#575134
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f37;
/* rgb */ color: rgb(138, 31, 55);
/* oklch */ color: oklch(42.3% 0.142 13.2);
Tailwind
colors: {
  custom: {
    50: '#b2656d',
    500: '#8a1f37',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f37;
$custom-light: #b2656d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f37",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 55
  },
  "hsl": {
    "h": 346.542,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42335,
    "c": 0.14168,
    "h": 13.2
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#8A1F37
secondary
#4BBAA1
accent
#E6C141
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1F37

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

Preview Lab → · Contrast checker → · Palette generator →

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