#972833#972833

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

Color values

HEX#972833
RGBrgb(151, 40, 51)
HSLhsl(354, 58%, 37%)
HSVhsv(354, 74%, 59%)
CMYKcmyk(0%, 73.5%, 66.2%, 40.8%)
CIE-LABlab(34.68, 46.38, 20.90)
CIE-LCHlch(34.68, 50.87, 24.26°)
OKLaboklab(45.49% 0.1373 0.0498)
OKLCHoklch(45.49% 0.146 19.9)
XYZxyz(14.1203, 8.3380, 3.9972)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972833 #28978C
analogous
#97286B #972833 #975428
triadic
#972833 #339728 #283397
tetradic
#972833 #6B9728 #28978C #542897
square
#972833 #6B9728 #28978C #542897
split-complementary
#972833 #289754 #286B97
monochromatic
#360E12 #671B23 #972833 #C73543 #D6646F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972833#FFFFFF#000000##FFFFFF
##9728331.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)
#474333
Deuteranopia (green-blind)
#635A30
Tritanopia (blue-blind)
#A6012D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972833;
/* rgb */ color: rgb(151, 40, 51);
/* oklch */ color: oklch(45.5% 0.146 19.9);
Tailwind
colors: {
  custom: {
    50: '#bc6b6a',
    500: '#972833',
    950: '#000000',
  },
}
SCSS
$custom: #972833;
$custom-light: #bc6b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#972833",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 51
  },
  "hsl": {
    "h": 354.054,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45489,
    "c": 0.14606,
    "h": 19.9
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #972833

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

Preview Lab → · Contrast checker → · Palette generator →

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