#971A27#971A27

#971A27 is a dark, vivid red. Relative luminance 0.075; OKLCH L 44.1% C 0.159 H 22.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#971A27
RGBrgb(151, 26, 39)
HSLhsl(354, 71%, 35%)
HSVhsv(354, 83%, 59%)
CMYKcmyk(0%, 82.8%, 74.2%, 40.8%)
CIE-LABlab(32.85, 50.33, 26.26)
CIE-LCHlch(32.85, 56.77, 27.56°)
OKLaboklab(44.07% 0.1473 0.0597)
OKLCHoklch(44.07% 0.159 22.1)
XYZxyz(13.4997, 7.4667, 2.6495)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A27 #1A978A
analogous
#971A66 #971A27 #974C1A
triadic
#971A27 #27971A #1A2797
tetradic
#971A27 #66971A #1A978A #4C1A97
square
#971A27 #66971A #1A978A #4C1A97
split-complementary
#971A27 #1A974C #1A6697
monochromatic
#2F080C #63111A #971A27 #CB2334 #E04B5B

Accessibility & contrast

On white

8.42
#971A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#971A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A27
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A27#FFFFFF#000000##FFFFFF
##971A271.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C26
Deuteranopia (green-blind)
#605723
Tritanopia (blue-blind)
#A70020
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #971a27;
/* rgb */ color: rgb(151, 26, 39);
/* oklch */ color: oklch(44.1% 0.159 22.1);
Tailwind
colors: {
  custom: {
    50: '#be6561',
    500: '#971a27',
    950: '#000000',
  },
}
SCSS
$custom: #971a27;
$custom-light: #be6561;
$custom-dark: #000000;
JSON
{
  "hex": "#971a27",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 39
  },
  "hsl": {
    "h": 353.76,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44067,
    "c": 0.1589,
    "h": 22.1
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#971A27
secondary
#4BC2B6
accent
#EDDB3A
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140605
muted
#827A79

Preview Lab

Preview with #971A27

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

Preview Lab → · Contrast checker → · Palette generator →

#971A27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva