#974838#974838

#974838 is a mid, moderate red. Relative luminance 0.115; OKLCH L 49.8% C 0.110 H 32.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#974838
RGBrgb(151, 72, 56)
HSLhsl(10, 46%, 41%)
HSVhsv(10, 63%, 59%)
CMYKcmyk(0%, 52.3%, 62.9%, 40.8%)
CIE-LABlab(40.41, 31.74, 25.03)
CIE-LCHlch(40.41, 40.42, 38.27°)
OKLaboklab(49.83% 0.0923 0.0596)
OKLCHoklch(49.83% 0.11 32.9)
XYZxyz(15.7950, 11.5014, 5.1288)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974838 #388797
analogous
#973857 #974838 #977738
triadic
#974838 #389748 #483897
tetradic
#974838 #579738 #388797 #773897
square
#974838 #579738 #388797 #773897
split-complementary
#974838 #389777 #385797
monochromatic
#3E1D17 #6A3327 #974838 #BE614F #CE897B

Accessibility & contrast

On white

6.36
#974838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#974838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974838
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974838#FFFFFF#000000##FFFFFF
##9748381.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5536
Deuteranopia (green-blind)
#6F6636
Tritanopia (blue-blind)
#A53A44
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #974838;
/* rgb */ color: rgb(151, 72, 56);
/* oklch */ color: oklch(49.8% 0.110 32.9);
Tailwind
colors: {
  custom: {
    50: '#ba7d6f',
    500: '#974838',
    950: '#000000',
  },
}
SCSS
$custom: #974838;
$custom-light: #ba7d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#974838",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 56
  },
  "hsl": {
    "h": 10.105,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.10985,
    "h": 32.9
  },
  "luminance": 0.115
}

Semantic roles & 50–950 ramp

primary
#974838
secondary
#73ACB7
accent
#BFD652
background
#FCF7F6
surface
#F8EEEC
border
#D1C9C7
text
#130A07
muted
#827C7A

Preview Lab

Preview with #974838

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

Preview Lab → · Contrast checker → · Palette generator →

#974838 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva