#8A1F33#8A1F33

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

Color values

HEX#8A1F33
RGBrgb(138, 31, 51)
HSLhsl(349, 63%, 33%)
HSVhsv(349, 78%, 54%)
CMYKcmyk(0%, 77.5%, 63%, 45.9%)
CIE-LABlab(30.94, 45.49, 15.56)
CIE-LCHlch(30.94, 48.08, 18.88°)
OKLaboklab(42.24% 0.1363 0.0379)
OKLCHoklch(42.24% 0.141 15.5)
XYZxyz(11.5700, 6.6240, 3.8007)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F33 #1F8A76
analogous
#8A1F68 #8A1F33 #8A401F
triadic
#8A1F33 #338A1F #1F338A
tetradic
#8A1F33 #688A1F #1F8A76 #401F8A
square
#8A1F33 #688A1F #1F8A76 #401F8A
split-complementary
#8A1F33 #1F8A40 #1F688A
monochromatic
#26090E #581421 #8A1F33 #BC2A45 #D74C66

Accessibility & contrast

On white

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

On black

2.32
#8A1F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A1F33#FFFFFF#000000##FFFFFF
##8A1F331.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3B33
Deuteranopia (green-blind)
#585130
Tritanopia (blue-blind)
#980027
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f33;
/* rgb */ color: rgb(138, 31, 51);
/* oklch */ color: oklch(42.2% 0.141 15.5);
Tailwind
colors: {
  custom: {
    50: '#b3656a',
    500: '#8a1f33',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f33;
$custom-light: #b3656a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f33",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 51
  },
  "hsl": {
    "h": 348.785,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42243,
    "c": 0.14145,
    "h": 15.5
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#8A1F33
secondary
#4BBAA5
accent
#E6C841
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1F33

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

Preview Lab → · Contrast checker → · Palette generator →

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