#8A1F2E#8A1F2E

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

Color values

HEX#8A1F2E
RGBrgb(138, 31, 46)
HSLhsl(352, 63%, 33%)
HSVhsv(352, 78%, 54%)
CMYKcmyk(0%, 77.5%, 66.7%, 45.9%)
CIE-LABlab(30.84, 45.17, 18.71)
CIE-LCHlch(30.84, 48.89, 22.49°)
OKLaboklab(42.14% 0.1342 0.0446)
OKLCHoklch(42.14% 0.141 18.4)
XYZxyz(11.4656, 6.5822, 3.2510)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F2E #1F8A7B
analogous
#8A1F63 #8A1F2E #8A451F
triadic
#8A1F2E #2E8A1F #1F2E8A
tetradic
#8A1F2E #638A1F #1F8A7B #451F8A
square
#8A1F2E #638A1F #1F8A7B #451F8A
split-complementary
#8A1F2E #1F8A45 #1F638A
monochromatic
#26090D #58141D #8A1F2E #BC2A3F #D74C60

Accessibility & contrast

On white

9.07
#8A1F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F2E
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F2E#FFFFFF#000000##FFFFFF
##8A1F2E1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2E
Deuteranopia (green-blind)
#59512B
Tritanopia (blue-blind)
#980026
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f2e;
/* rgb */ color: rgb(138, 31, 46);
/* oklch */ color: oklch(42.1% 0.141 18.4);
Tailwind
colors: {
  custom: {
    50: '#b36566',
    500: '#8a1f2e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f2e;
$custom-light: #b36566;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f2e",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 351.589,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42138,
    "c": 0.14144,
    "h": 18.4
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#8A1F2E
secondary
#4BBAAA
accent
#E6CF41
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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