#972731#972731

#972731 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.4% C 0.147 H 20.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#972731
RGBrgb(151, 39, 49)
HSLhsl(355, 59%, 37%)
HSVhsv(355, 74%, 59%)
CMYKcmyk(0%, 74.2%, 67.5%, 40.8%)
CIE-LABlab(34.51, 46.63, 21.96)
CIE-LCHlch(34.51, 51.54, 25.21°)
OKLaboklab(45.35% 0.1377 0.0519)
OKLCHoklch(45.35% 0.147 20.6)
XYZxyz(14.0439, 8.2542, 3.7589)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972731 #27978D
analogous
#972769 #972731 #975527
triadic
#972731 #319727 #273197
tetradic
#972731 #699727 #27978D #552797
square
#972731 #699727 #27978D #552797
split-complementary
#972731 #279755 #276997
monochromatic
#360E11 #661A21 #972731 #C83441 #D6626C

Accessibility & contrast

On white

7.92
#972731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972731
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972731#FFFFFF#000000##FFFFFF
##9727311.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474231
Deuteranopia (green-blind)
#635A2E
Tritanopia (blue-blind)
#A6002C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972731;
/* rgb */ color: rgb(151, 39, 49);
/* oklch */ color: oklch(45.4% 0.147 20.6);
Tailwind
colors: {
  custom: {
    50: '#bd6a69',
    500: '#972731',
    950: '#000000',
  },
}
SCSS
$custom: #972731;
$custom-light: #bd6a69;
$custom-dark: #000000;
JSON
{
  "hex": "#972731",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 354.643,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45351,
    "c": 0.14717,
    "h": 20.6
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#972731
secondary
#5EBCB4
accent
#E2D446
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #972731

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

Preview Lab → · Contrast checker → · Palette generator →

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