#972942#972942

#972942 is a mid, vivid red. Relative luminance 0.086; OKLCH L 45.9% C 0.145 H 11.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#972942
RGBrgb(151, 41, 66)
HSLhsl(346, 57%, 38%)
HSVhsv(346, 73%, 59%)
CMYKcmyk(0%, 72.8%, 56.3%, 40.8%)
CIE-LABlab(35.12, 47.05, 11.87)
CIE-LCHlch(35.12, 48.52, 14.16°)
OKLaboklab(45.92% 0.1423 0.0298)
OKLCHoklch(45.92% 0.145 11.8)
XYZxyz(14.5402, 8.5605, 6.0399)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972942 #29977E
analogous
#972979 #972942 #974729
triadic
#972942 #429729 #294297
tetradic
#972942 #799729 #29977E #472997
square
#972942 #799729 #29977E #472997
split-complementary
#972942 #299747 #297997
monochromatic
#370F18 #671C2D #972942 #C73657 #D5657F

Accessibility & contrast

On white

7.74
#972942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#972942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972942
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972942#FFFFFF#000000##FFFFFF
##9729421.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454442
Deuteranopia (green-blind)
#615B3F
Tritanopia (blue-blind)
#A50E33
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #972942;
/* rgb */ color: rgb(151, 41, 66);
/* oklch */ color: oklch(45.9% 0.145 11.8);
Tailwind
colors: {
  custom: {
    50: '#bb6b76',
    500: '#972942',
    950: '#000000',
  },
}
SCSS
$custom: #972942;
$custom-light: #bb6b76;
$custom-dark: #000000;
JSON
{
  "hex": "#972942",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 66
  },
  "hsl": {
    "h": 346.364,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.14535,
    "h": 11.8
  },
  "luminance": 0.08559
}

Semantic roles & 50–950 ramp

primary
#972942
secondary
#61BBA7
accent
#E1BE47
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #972942

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

Preview Lab → · Contrast checker → · Palette generator →

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