#972838#972838

#972838 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.6% C 0.146 H 17.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#972838
RGBrgb(151, 40, 56)
HSLhsl(351, 58%, 37%)
HSVhsv(351, 74%, 59%)
CMYKcmyk(0%, 73.5%, 62.9%, 40.8%)
CIE-LABlab(34.77, 46.70, 17.83)
CIE-LCHlch(34.77, 49.99, 20.90°)
OKLaboklab(45.59% 0.1394 0.0432)
OKLCHoklch(45.59% 0.146 17.2)
XYZxyz(14.2365, 8.3845, 4.6093)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972838 #289787
analogous
#972870 #972838 #974F28
triadic
#972838 #389728 #283897
tetradic
#972838 #709728 #289787 #4F2897
square
#972838 #709728 #289787 #4F2897
split-complementary
#972838 #28974F #287097
monochromatic
#360E14 #671B26 #972838 #C7354A #D66474

Accessibility & contrast

On white

7.85
#972838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#972838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972838
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972838#FFFFFF#000000##FFFFFF
##9728381.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464338
Deuteranopia (green-blind)
#625A35
Tritanopia (blue-blind)
#A6042F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972838;
/* rgb */ color: rgb(151, 40, 56);
/* oklch */ color: oklch(45.6% 0.146 17.2);
Tailwind
colors: {
  custom: {
    50: '#bc6b6e',
    500: '#972838',
    950: '#000000',
  },
}
SCSS
$custom: #972838;
$custom-light: #bc6b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#972838",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 351.351,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45589,
    "c": 0.14593,
    "h": 17.2
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#972838
secondary
#5FBCAE
accent
#E1CB46
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #972838

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

Preview Lab → · Contrast checker → · Palette generator →

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