#972823#972823

#972823 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.2% C 0.148 H 27.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#972823
RGBrgb(151, 40, 35)
HSLhsl(3, 62%, 36%)
HSVhsv(3, 77%, 59%)
CMYKcmyk(0%, 73.5%, 76.8%, 40.8%)
CIE-LABlab(34.44, 45.56, 30.51)
CIE-LCHlch(34.44, 54.83, 33.81°)
OKLaboklab(45.23% 0.1312 0.068)
OKLCHoklch(45.23% 0.148 27.4)
XYZxyz(13.8263, 8.2204, 2.4484)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972823 #239297
analogous
#972358 #972823 #976223
triadic
#972823 #239728 #282397
tetradic
#972823 #589723 #239297 #622397
square
#972823 #589723 #239297 #622397
split-complementary
#972823 #239762 #235897
monochromatic
#340E0C #651B17 #972823 #C9352F #D9615B

Accessibility & contrast

On white

7.94
#972823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#972823 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972823
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972823#FFFFFF#000000##FFFFFF
##9728231.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494221
Deuteranopia (green-blind)
#645A1F
Tritanopia (blue-blind)
#A70028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972823;
/* rgb */ color: rgb(151, 40, 35);
/* oklch */ color: oklch(45.2% 0.148 27.4);
Tailwind
colors: {
  custom: {
    50: '#be6a5e',
    500: '#972823',
    950: '#000000',
  },
}
SCSS
$custom: #972823;
$custom-light: #be6a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#972823",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 35
  },
  "hsl": {
    "h": 2.586,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45234,
    "c": 0.1478,
    "h": 27.4
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#972823
secondary
#58B9BE
accent
#DEE542
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79

Preview Lab

Preview with #972823

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

Preview Lab → · Contrast checker → · Palette generator →

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