#8A1D37#8A1D37

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

Color values

HEX#8A1D37
RGBrgb(138, 29, 55)
HSLhsl(346, 65%, 33%)
HSVhsv(346, 79%, 54%)
CMYKcmyk(0%, 79%, 60.1%, 45.9%)
CIE-LABlab(30.78, 46.45, 12.72)
CIE-LCHlch(30.78, 48.16, 15.31°)
OKLaboklab(42.16% 0.1401 0.0315)
OKLCHoklch(42.16% 0.144 12.7)
XYZxyz(11.6114, 6.5595, 4.2684)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D37 #1D8A70
analogous
#8A1D6D #8A1D37 #8A391D
triadic
#8A1D37 #378A1D #1D378A
tetradic
#8A1D37 #6D8A1D #1D8A70 #391D8A
square
#8A1D37 #6D8A1D #1D8A70 #391D8A
split-complementary
#8A1D37 #1D8A39 #1D6D8A
monochromatic
#25080F #571223 #8A1D37 #BD284B #D9496B

Accessibility & contrast

On white

9.08
#8A1D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A1D37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D37
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D37#FFFFFF#000000##FFFFFF
##8A1D371.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3A37
Deuteranopia (green-blind)
#575134
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1d37;
/* rgb */ color: rgb(138, 29, 55);
/* oklch */ color: oklch(42.2% 0.144 12.7);
Tailwind
colors: {
  custom: {
    50: '#b2646d',
    500: '#8a1d37',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d37;
$custom-light: #b2646d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d37",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 55
  },
  "hsl": {
    "h": 345.688,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42158,
    "c": 0.14361,
    "h": 12.7
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#8A1D37
secondary
#48BB9F
accent
#E8C040
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1D37

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

Preview Lab → · Contrast checker → · Palette generator →

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