#8A3338#8A3338

#8A3338 is a dark, moderate red. Relative luminance 0.081; OKLCH L 44.6% C 0.119 H 19.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8A3338
RGBrgb(138, 51, 56)
HSLhsl(357, 46%, 37%)
HSVhsv(357, 63%, 54%)
CMYKcmyk(0%, 63%, 59.4%, 45.9%)
CIE-LABlab(34.10, 37.49, 16.51)
CIE-LCHlch(34.10, 40.96, 23.76°)
OKLaboklab(44.64% 0.1117 0.0405)
OKLCHoklch(44.64% 0.119 19.9)
XYZxyz(12.3800, 8.0580, 4.6441)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3338 #338A85
analogous
#8A3364 #8A3338 #8A5A33
triadic
#8A3338 #388A33 #33388A
tetradic
#8A3338 #648A33 #338A85 #5A338A
square
#8A3338 #648A33 #338A85 #5A338A
split-complementary
#8A3338 #338A5A #33648A
monochromatic
#311214 #5D2226 #8A3338 #B7444A #C96E73

Accessibility & contrast

On white

8.04
#8A3338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A3338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3338
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3338#FFFFFF#000000##FFFFFF
##8A33381.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484538
Deuteranopia (green-blind)
#5E5736
Tritanopia (blue-blind)
#972335
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a3338;
/* rgb */ color: rgb(138, 51, 56);
/* oklch */ color: oklch(44.6% 0.119 19.9);
Tailwind
colors: {
  custom: {
    50: '#b16f6e',
    500: '#8a3338',
    950: '#000000',
  },
}
SCSS
$custom: #8a3338;
$custom-light: #b16f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3338",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 56
  },
  "hsl": {
    "h": 356.552,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4464,
    "c": 0.11881,
    "h": 19.9
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#8A3338
secondary
#67B1AD
accent
#D6CE52
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#120707
muted
#817A7A

Preview Lab

Preview with #8A3338

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

Preview Lab → · Contrast checker → · Palette generator →

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