#972531#972531

#972531 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.149 H 20.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#972531
RGBrgb(151, 37, 49)
HSLhsl(354, 61%, 37%)
HSVhsv(354, 75%, 59%)
CMYKcmyk(0%, 75.5%, 67.5%, 40.8%)
CIE-LABlab(34.24, 47.36, 21.63)
CIE-LCHlch(34.24, 52.07, 24.55°)
OKLaboklab(45.16% 0.1401 0.0511)
OKLCHoklch(45.16% 0.149 20.1)
XYZxyz(13.9800, 8.1263, 3.7375)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972531 #25978B
analogous
#97256A #972531 #975225
triadic
#972531 #319725 #253197
tetradic
#972531 #6A9725 #25978B #522597
square
#972531 #6A9725 #25978B #522597
split-complementary
#972531 #259752 #256A97
monochromatic
#350D11 #661921 #972531 #C83141 #D85F6B

Accessibility & contrast

On white

8.00
#972531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#972531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972531
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972531#FFFFFF#000000##FFFFFF
##9725311.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.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: #972531;
/* rgb */ color: rgb(151, 37, 49);
/* oklch */ color: oklch(45.2% 0.149 20.1);
Tailwind
colors: {
  custom: {
    50: '#bd6969',
    500: '#972531',
    950: '#000000',
  },
}
SCSS
$custom: #972531;
$custom-light: #bd6969;
$custom-dark: #000000;
JSON
{
  "hex": "#972531",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 49
  },
  "hsl": {
    "h": 353.684,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.14909,
    "h": 20.1
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#972531
secondary
#5BBDB2
accent
#E4D344
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #972531

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

Preview Lab → · Contrast checker → · Palette generator →

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