#8A1D38#8A1D38

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

Color values

HEX#8A1D38
RGBrgb(138, 29, 56)
HSLhsl(345, 65%, 33%)
HSVhsv(345, 79%, 54%)
CMYKcmyk(0%, 79%, 59.4%, 45.9%)
CIE-LABlab(30.81, 46.52, 12.09)
CIE-LCHlch(30.81, 48.07, 14.57°)
OKLaboklab(42.18% 0.1405 0.0301)
OKLCHoklch(42.18% 0.144 12.1)
XYZxyz(11.6356, 6.5692, 4.3959)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D38 #1D8A6F
analogous
#8A1D6E #8A1D38 #8A391D
triadic
#8A1D38 #388A1D #1D388A
tetradic
#8A1D38 #6E8A1D #1D8A6F #391D8A
square
#8A1D38 #6E8A1D #1D8A6F #391D8A
split-complementary
#8A1D38 #1D8A39 #1D6E8A
monochromatic
#25080F #571223 #8A1D38 #BD284D #D9496C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1D38#FFFFFF#000000##FFFFFF
##8A1D381.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)
#3B3A38
Deuteranopia (green-blind)
#575135
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1d38;
/* rgb */ color: rgb(138, 29, 56);
/* oklch */ color: oklch(42.2% 0.144 12.1);
Tailwind
colors: {
  custom: {
    50: '#b2646e',
    500: '#8a1d38',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d38;
$custom-light: #b2646e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d38",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 56
  },
  "hsl": {
    "h": 345.138,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42183,
    "c": 0.14371,
    "h": 12.1
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#8A1D38
secondary
#48BB9E
accent
#E8BE40
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1D38

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

Preview Lab → · Contrast checker → · Palette generator →

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