#972834#972834

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

Color values

HEX#972834
RGBrgb(151, 40, 52)
HSLhsl(354, 58%, 37%)
HSVhsv(354, 74%, 59%)
CMYKcmyk(0%, 73.5%, 65.6%, 40.8%)
CIE-LABlab(34.70, 46.44, 20.29)
CIE-LCHlch(34.70, 50.68, 23.60°)
OKLaboklab(45.51% 0.1377 0.0485)
OKLCHoklch(45.51% 0.146 19.4)
XYZxyz(14.1426, 8.3469, 4.1146)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972834 #28978B
analogous
#97286B #972834 #975428
triadic
#972834 #349728 #283497
tetradic
#972834 #6B9728 #28978B #542897
square
#972834 #6B9728 #28978B #542897
split-complementary
#972834 #289754 #286B97
monochromatic
#360E13 #671B23 #972834 #C73545 #D66470

Accessibility & contrast

On white

7.87
#972834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#972834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972834
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972834#FFFFFF#000000##FFFFFF
##9728341.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474334
Deuteranopia (green-blind)
#635A31
Tritanopia (blue-blind)
#A6022D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972834;
/* rgb */ color: rgb(151, 40, 52);
/* oklch */ color: oklch(45.5% 0.146 19.4);
Tailwind
colors: {
  custom: {
    50: '#bc6b6b',
    500: '#972834',
    950: '#000000',
  },
}
SCSS
$custom: #972834;
$custom-light: #bc6b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#972834",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 52
  },
  "hsl": {
    "h": 353.514,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45508,
    "c": 0.14602,
    "h": 19.4
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#972834
secondary
#5FBCB2
accent
#E1D146
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #972834

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

Preview Lab → · Contrast checker → · Palette generator →

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