#8A1F34#8A1F34

#8A1F34 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.141 H 15.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8A1F34
RGBrgb(138, 31, 52)
HSLhsl(348, 63%, 33%)
HSVhsv(348, 78%, 54%)
CMYKcmyk(0%, 77.5%, 62.3%, 45.9%)
CIE-LABlab(30.96, 45.56, 14.93)
CIE-LCHlch(30.96, 47.95, 18.14°)
OKLaboklab(42.27% 0.1367 0.0365)
OKLCHoklch(42.27% 0.141 15)
XYZxyz(11.5922, 6.6329, 3.9180)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F34 #1F8A75
analogous
#8A1F69 #8A1F34 #8A3F1F
triadic
#8A1F34 #348A1F #1F348A
tetradic
#8A1F34 #698A1F #1F8A75 #3F1F8A
square
#8A1F34 #698A1F #1F8A75 #3F1F8A
split-complementary
#8A1F34 #1F8A3F #1F698A
monochromatic
#26090E #581421 #8A1F34 #BC2A47 #D74C68

Accessibility & contrast

On white

9.03
#8A1F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F34
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F34#FFFFFF#000000##FFFFFF
##8A1F341.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3B34
Deuteranopia (green-blind)
#585131
Tritanopia (blue-blind)
#980028
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f34;
/* rgb */ color: rgb(138, 31, 52);
/* oklch */ color: oklch(42.3% 0.141 15.0);
Tailwind
colors: {
  custom: {
    50: '#b3656b',
    500: '#8a1f34',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f34;
$custom-light: #b3656b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f34",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 52
  },
  "hsl": {
    "h": 348.224,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42266,
    "c": 0.14149,
    "h": 15
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#8A1F34
secondary
#4BBAA4
accent
#E6C641
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1F34

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

Preview Lab → · Contrast checker → · Palette generator →

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