#8A1F38#8A1F38

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

Color values

HEX#8A1F38
RGBrgb(138, 31, 56)
HSLhsl(346, 63%, 33%)
HSVhsv(346, 78%, 54%)
CMYKcmyk(0%, 77.5%, 59.4%, 45.9%)
CIE-LABlab(31.04, 45.85, 12.41)
CIE-LCHlch(31.04, 47.50, 15.15°)
OKLaboklab(42.36% 0.1384 0.0309)
OKLCHoklch(42.36% 0.142 12.6)
XYZxyz(11.6862, 6.6705, 4.4128)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F38 #1F8A71
analogous
#8A1F6D #8A1F38 #8A3B1F
triadic
#8A1F38 #388A1F #1F388A
tetradic
#8A1F38 #6D8A1F #1F8A71 #3B1F8A
square
#8A1F38 #6D8A1F #1F8A71 #3B1F8A
split-complementary
#8A1F38 #1F8A3B #1F6D8A
monochromatic
#26090F #581424 #8A1F38 #BC2A4C #D74C6D

Accessibility & contrast

On white

9.00
#8A1F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F38
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F38#FFFFFF#000000##FFFFFF
##8A1F381.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3B38
Deuteranopia (green-blind)
#575135
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f38;
/* rgb */ color: rgb(138, 31, 56);
/* oklch */ color: oklch(42.4% 0.142 12.6);
Tailwind
colors: {
  custom: {
    50: '#b2656e',
    500: '#8a1f38',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f38;
$custom-light: #b2656e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f38",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 345.981,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4236,
    "c": 0.14176,
    "h": 12.6
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#8A1F38
secondary
#4BBAA0
accent
#E6C041
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1F38

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

Preview Lab → · Contrast checker → · Palette generator →

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