#972740#972740

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

Color values

HEX#972740
RGBrgb(151, 39, 64)
HSLhsl(347, 59%, 37%)
HSVhsv(347, 74%, 59%)
CMYKcmyk(0%, 74.2%, 57.6%, 40.8%)
CIE-LABlab(34.81, 47.64, 12.73)
CIE-LCHlch(34.81, 49.31, 14.96°)
OKLaboklab(45.67% 0.1439 0.0318)
OKLCHoklch(45.67% 0.147 12.5)
XYZxyz(14.4148, 8.4025, 5.7123)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972740 #27977E
analogous
#972778 #972740 #974627
triadic
#972740 #409727 #274097
tetradic
#972740 #789727 #27977E #462797
square
#972740 #789727 #27977E #462797
split-complementary
#972740 #279746 #277897
monochromatic
#360E17 #661A2B #972740 #C83455 #D6627C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972740#FFFFFF#000000##FFFFFF
##9727401.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)
#444340
Deuteranopia (green-blind)
#615A3D
Tritanopia (blue-blind)
#A50731
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972740;
/* rgb */ color: rgb(151, 39, 64);
/* oklch */ color: oklch(45.7% 0.147 12.5);
Tailwind
colors: {
  custom: {
    50: '#bc6a74',
    500: '#972740',
    950: '#000000',
  },
}
SCSS
$custom: #972740;
$custom-light: #bc6a74;
$custom-dark: #000000;
JSON
{
  "hex": "#972740",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 346.607,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45672,
    "c": 0.14732,
    "h": 12.5
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#972740
secondary
#5EBCA7
accent
#E2BF46
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #972740

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

Preview Lab → · Contrast checker → · Palette generator →

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