#972431#972431

#972431 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.1% C 0.150 H 19.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#972431
RGBrgb(151, 36, 49)
HSLhsl(353, 61%, 37%)
HSVhsv(353, 76%, 59%)
CMYKcmyk(0%, 76.2%, 67.5%, 40.8%)
CIE-LABlab(34.12, 47.71, 21.47)
CIE-LCHlch(34.12, 52.32, 24.23°)
OKLaboklab(45.06% 0.1412 0.0508)
OKLCHoklch(45.06% 0.15 19.8)
XYZxyz(13.9493, 8.0649, 3.7273)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972431 #24978A
analogous
#97246B #972431 #975124
triadic
#972431 #319724 #243197
tetradic
#972431 #6B9724 #24978A #512497
square
#972431 #6B9724 #24978A #512497
split-complementary
#972431 #249751 #246B97
monochromatic
#340C11 #661821 #972431 #C83041 #D85D6B

Accessibility & contrast

On white

8.04
#972431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#972431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972431
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972431#FFFFFF#000000##FFFFFF
##9724311.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454131
Deuteranopia (green-blind)
#62592E
Tritanopia (blue-blind)
#A6002A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #972431;
/* rgb */ color: rgb(151, 36, 49);
/* oklch */ color: oklch(45.1% 0.150 19.8);
Tailwind
colors: {
  custom: {
    50: '#bd6969',
    500: '#972431',
    950: '#000000',
  },
}
SCSS
$custom: #972431;
$custom-light: #bd6969;
$custom-dark: #000000;
JSON
{
  "hex": "#972431",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 49
  },
  "hsl": {
    "h": 353.217,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45062,
    "c": 0.15003,
    "h": 19.8
  },
  "luminance": 0.08063
}

Semantic roles & 50–950 ramp

primary
#972431
secondary
#5ABDB2
accent
#E5D243
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #972431

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

Preview Lab → · Contrast checker → · Palette generator →

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