#972938#972938

#972938 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.7% C 0.145 H 17.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#972938
RGBrgb(151, 41, 56)
HSLhsl(352, 57%, 38%)
HSVhsv(352, 73%, 59%)
CMYKcmyk(0%, 72.8%, 62.9%, 40.8%)
CIE-LABlab(34.91, 46.32, 18.01)
CIE-LCHlch(34.91, 49.69, 21.25°)
OKLaboklab(45.69% 0.1382 0.0437)
OKLCHoklch(45.69% 0.145 17.5)
XYZxyz(14.2707, 8.4528, 4.6207)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972938 #299788
analogous
#97296F #972938 #975129
triadic
#972938 #389729 #293897
tetradic
#972938 #6F9729 #299788 #512997
square
#972938 #6F9729 #299788 #512997
split-complementary
#972938 #299751 #296F97
monochromatic
#370F14 #671C26 #972938 #C7364A #D56574

Accessibility & contrast

On white

7.81
#972938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#972938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972938
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972938#FFFFFF#000000##FFFFFF
##9729381.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474338
Deuteranopia (green-blind)
#635B35
Tritanopia (blue-blind)
#A6072F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972938;
/* rgb */ color: rgb(151, 41, 56);
/* oklch */ color: oklch(45.7% 0.145 17.5);
Tailwind
colors: {
  custom: {
    50: '#bc6b6e',
    500: '#972938',
    950: '#000000',
  },
}
SCSS
$custom: #972938;
$custom-light: #bc6b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#972938",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 56
  },
  "hsl": {
    "h": 351.818,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45691,
    "c": 0.14489,
    "h": 17.5
  },
  "luminance": 0.08451
}

Semantic roles & 50–950 ramp

primary
#972938
secondary
#61BBAF
accent
#E1CC47
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #972938

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

Preview Lab → · Contrast checker → · Palette generator →

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