#8A1F36#8A1F36

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

Color values

HEX#8A1F36
RGBrgb(138, 31, 54)
HSLhsl(347, 63%, 33%)
HSVhsv(347, 78%, 54%)
CMYKcmyk(0%, 77.5%, 60.9%, 45.9%)
CIE-LABlab(31.00, 45.70, 13.67)
CIE-LCHlch(31.00, 47.70, 16.65°)
OKLaboklab(42.31% 0.1375 0.0337)
OKLCHoklch(42.31% 0.142 13.8)
XYZxyz(11.6382, 6.6513, 4.1603)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F36 #1F8A73
analogous
#8A1F6B #8A1F36 #8A3D1F
triadic
#8A1F36 #368A1F #1F368A
tetradic
#8A1F36 #6B8A1F #1F8A73 #3D1F8A
square
#8A1F36 #6B8A1F #1F8A73 #3D1F8A
split-complementary
#8A1F36 #1F8A3D #1F6B8A
monochromatic
#26090F #581422 #8A1F36 #BC2A4A #D74C6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1F36#FFFFFF#000000##FFFFFF
##8A1F361.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)
#3C3B36
Deuteranopia (green-blind)
#585133
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f36;
/* rgb */ color: rgb(138, 31, 54);
/* oklch */ color: oklch(42.3% 0.142 13.8);
Tailwind
colors: {
  custom: {
    50: '#b2656c',
    500: '#8a1f36',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f36;
$custom-light: #b2656c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f36",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 54
  },
  "hsl": {
    "h": 347.103,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42312,
    "c": 0.1416,
    "h": 13.8
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#8A1F36
secondary
#4BBAA2
accent
#E6C341
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1F36

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

Preview Lab → · Contrast checker → · Palette generator →

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