#972840#972840

#972840 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.8% C 0.146 H 12.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#972840
RGBrgb(151, 40, 64)
HSLhsl(347, 58%, 37%)
HSVhsv(347, 74%, 59%)
CMYKcmyk(0%, 73.5%, 57.6%, 40.8%)
CIE-LABlab(34.94, 47.27, 12.91)
CIE-LCHlch(34.94, 49.00, 15.28°)
OKLaboklab(45.77% 0.1427 0.0322)
OKLCHoklch(45.77% 0.146 12.7)
XYZxyz(14.4481, 8.4691, 5.7234)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972840 #28977F
analogous
#972878 #972840 #974828
triadic
#972840 #409728 #284097
tetradic
#972840 #789728 #28977F #482897
square
#972840 #789728 #28977F #482897
split-complementary
#972840 #289748 #287897
monochromatic
#360E17 #671B2B #972840 #C73555 #D6647C

Accessibility & contrast

On white

7.80
#972840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#972840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972840
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972840#FFFFFF#000000##FFFFFF
##9728401.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454440
Deuteranopia (green-blind)
#615A3D
Tritanopia (blue-blind)
#A50A32
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972840;
/* rgb */ color: rgb(151, 40, 64);
/* oklch */ color: oklch(45.8% 0.146 12.7);
Tailwind
colors: {
  custom: {
    50: '#bc6b74',
    500: '#972840',
    950: '#000000',
  },
}
SCSS
$custom: #972840;
$custom-light: #bc6b74;
$custom-dark: #000000;
JSON
{
  "hex": "#972840",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 347.027,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45771,
    "c": 0.14626,
    "h": 12.7
  },
  "luminance": 0.08467
}

Semantic roles & 50–950 ramp

primary
#972840
secondary
#5FBCA8
accent
#E1C046
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #972840

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

Preview Lab → · Contrast checker → · Palette generator →

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