#972839#972839

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

Color values

HEX#972839
RGBrgb(151, 40, 57)
HSLhsl(351, 58%, 37%)
HSVhsv(351, 74%, 59%)
CMYKcmyk(0%, 73.5%, 62.3%, 40.8%)
CIE-LABlab(34.79, 46.76, 17.22)
CIE-LCHlch(34.79, 49.83, 20.21°)
OKLaboklab(45.61% 0.1398 0.0419)
OKLCHoklch(45.61% 0.146 16.7)
XYZxyz(14.2612, 8.3944, 4.7394)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972839 #289786
analogous
#972870 #972839 #974F28
triadic
#972839 #399728 #283997
tetradic
#972839 #709728 #289786 #4F2897
square
#972839 #709728 #289786 #4F2897
split-complementary
#972839 #28974F #287097
monochromatic
#360E14 #671B27 #972839 #C7354B #D66475

Accessibility & contrast

On white

7.84
#972839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972839
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972839#FFFFFF#000000##FFFFFF
##9728391.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464339
Deuteranopia (green-blind)
#625A36
Tritanopia (blue-blind)
#A6052F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972839;
/* rgb */ color: rgb(151, 40, 57);
/* oklch */ color: oklch(45.6% 0.146 16.7);
Tailwind
colors: {
  custom: {
    50: '#bc6b6f',
    500: '#972839',
    950: '#000000',
  },
}
SCSS
$custom: #972839;
$custom-light: #bc6b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#972839",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 57
  },
  "hsl": {
    "h": 350.811,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4561,
    "c": 0.14593,
    "h": 16.7
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#972839
secondary
#5FBCAD
accent
#E1CA46
background
#FCF6F6
surface
#F8ECEC
border
#D1C7C7
text
#130707
muted
#827A7A

Preview Lab

Preview with #972839

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

Preview Lab → · Contrast checker → · Palette generator →

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