#972830#972830

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

Color values

HEX#972830
RGBrgb(151, 40, 48)
HSLhsl(356, 58%, 37%)
HSVhsv(356, 74%, 59%)
CMYKcmyk(0%, 73.5%, 68.2%, 40.8%)
CIE-LABlab(34.63, 46.20, 22.74)
CIE-LCHlch(34.63, 51.49, 26.21°)
OKLaboklab(45.43% 0.1361 0.0535)
OKLCHoklch(45.43% 0.146 21.5)
XYZxyz(14.0563, 8.3124, 3.6600)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972830 #28978F
analogous
#972867 #972830 #975828
triadic
#972830 #309728 #283097
tetradic
#972830 #679728 #28978F #582897
square
#972830 #679728 #28978F #582897
split-complementary
#972830 #289758 #286797
monochromatic
#360E11 #671B21 #972830 #C7353F #D6646C

Accessibility & contrast

On white

7.89
#972830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#972830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972830
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972830#FFFFFF#000000##FFFFFF
##9728301.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47422F
Deuteranopia (green-blind)
#635A2D
Tritanopia (blue-blind)
#A6002C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972830;
/* rgb */ color: rgb(151, 40, 48);
/* oklch */ color: oklch(45.4% 0.146 21.5);
Tailwind
colors: {
  custom: {
    50: '#bd6b68',
    500: '#972830',
    950: '#000000',
  },
}
SCSS
$custom: #972830;
$custom-light: #bd6b68;
$custom-dark: #000000;
JSON
{
  "hex": "#972830",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 48
  },
  "hsl": {
    "h": 355.676,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.14626,
    "h": 21.5
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

primary
#972830
secondary
#5FBCB5
accent
#E1D646
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #972830

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

Preview Lab → · Contrast checker → · Palette generator →

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