#972540#972540

#972540 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.149 H 12.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#972540
RGBrgb(151, 37, 64)
HSLhsl(346, 61%, 37%)
HSVhsv(346, 75%, 59%)
CMYKcmyk(0%, 75.5%, 57.6%, 40.8%)
CIE-LABlab(34.55, 48.37, 12.37)
CIE-LCHlch(34.55, 49.92, 14.35°)
OKLaboklab(45.48% 0.1462 0.031)
OKLCHoklch(45.48% 0.149 12)
XYZxyz(14.3509, 8.2746, 5.6910)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972540 #25977C
analogous
#972579 #972540 #974325
triadic
#972540 #409725 #254097
tetradic
#972540 #799725 #25977C #432597
square
#972540 #799725 #25977C #432597
split-complementary
#972540 #259743 #257997
monochromatic
#350D16 #66192B #972540 #C83155 #D85F7B

Accessibility & contrast

On white

7.91
#972540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972540
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972540#FFFFFF#000000##FFFFFF
##9725401.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434240
Deuteranopia (green-blind)
#605A3D
Tritanopia (blue-blind)
#A50230
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972540;
/* rgb */ color: rgb(151, 37, 64);
/* oklch */ color: oklch(45.5% 0.149 12.0);
Tailwind
colors: {
  custom: {
    50: '#bc6a74',
    500: '#972540',
    950: '#000000',
  },
}
SCSS
$custom: #972540;
$custom-light: #bc6a74;
$custom-dark: #000000;
JSON
{
  "hex": "#972540",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 345.789,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4548,
    "c": 0.14941,
    "h": 12
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#972540
secondary
#5BBDA6
accent
#E4BE44
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #972540

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

Preview Lab → · Contrast checker → · Palette generator →

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