#972827#972827

#972827 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.3% C 0.147 H 25.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#972827
RGBrgb(151, 40, 39)
HSLhsl(1, 59%, 37%)
HSVhsv(1, 74%, 59%)
CMYKcmyk(0%, 73.5%, 74.2%, 40.8%)
CIE-LABlab(34.49, 45.73, 28.16)
CIE-LCHlch(34.49, 53.71, 31.62°)
OKLaboklab(45.29% 0.1327 0.0639)
OKLCHoklch(45.29% 0.147 25.7)
XYZxyz(13.8891, 8.2455, 2.7793)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972827 #279697
analogous
#97275E #972827 #976027
triadic
#972827 #279728 #282797
tetradic
#972827 #5E9727 #279697 #602797
square
#972827 #5E9727 #279697 #602797
split-complementary
#972827 #279760 #275E97
monochromatic
#360E0E #661B1A #972827 #C83534 #D66362

Accessibility & contrast

On white

7.93
#972827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#972827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972827
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972827#FFFFFF#000000##FFFFFF
##9728271.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484226
Deuteranopia (green-blind)
#645A23
Tritanopia (blue-blind)
#A60029
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972827;
/* rgb */ color: rgb(151, 40, 39);
/* oklch */ color: oklch(45.3% 0.147 25.7);
Tailwind
colors: {
  custom: {
    50: '#bd6a61',
    500: '#972827',
    950: '#000000',
  },
}
SCSS
$custom: #972827;
$custom-light: #bd6a61;
$custom-dark: #000000;
JSON
{
  "hex": "#972827",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 0.536,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45288,
    "c": 0.14723,
    "h": 25.7
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#972827
secondary
#5EBBBC
accent
#E1E246
background
#FCF6F5
surface
#F8ECE9
border
#D1C7C5
text
#130705
muted
#827A79

Preview Lab

Preview with #972827

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

Preview Lab → · Contrast checker → · Palette generator →

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