#972727#972727

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

Color values

HEX#972727
RGBrgb(151, 39, 39)
HSLhsl(0, 59%, 37%)
HSVhsv(0, 74%, 59%)
CMYKcmyk(0%, 74.2%, 74.2%, 40.8%)
CIE-LABlab(34.35, 46.11, 28.01)
CIE-LCHlch(34.35, 53.95, 31.27°)
OKLaboklab(45.19% 0.1339 0.0635)
OKLCHoklch(45.19% 0.148 25.4)
XYZxyz(13.8558, 8.1789, 2.7682)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972727 #279797
analogous
#97275F #972727 #975F27
triadic
#972727 #279727 #272797
tetradic
#972727 #5F9727 #279797 #5F2797
square
#972727 #5F9727 #279797 #5F2797
split-complementary
#972727 #27975F #275F97
monochromatic
#360E0E #661A1A #972727 #C83434 #D66262

Accessibility & contrast

On white

7.97
#972727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972727
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972727#FFFFFF#000000##FFFFFF
##9727271.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484126
Deuteranopia (green-blind)
#645A23
Tritanopia (blue-blind)
#A60028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972727;
/* rgb */ color: rgb(151, 39, 39);
/* oklch */ color: oklch(45.2% 0.148 25.4);
Tailwind
colors: {
  custom: {
    50: '#bd6a61',
    500: '#972727',
    950: '#000000',
  },
}
SCSS
$custom: #972727;
$custom-light: #bd6a61;
$custom-dark: #000000;
JSON
{
  "hex": "#972727",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 39
  },
  "hsl": {
    "h": 0,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45187,
    "c": 0.14816,
    "h": 25.4
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#972727
secondary
#5EBCBC
accent
#E2E246
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130705
muted
#827A79

Preview Lab

Preview with #972727

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

Preview Lab → · Contrast checker → · Palette generator →

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