#972842#972842

#972842 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.8% C 0.146 H 11.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#972842
RGBrgb(151, 40, 66)
HSLhsl(346, 58%, 37%)
HSVhsv(346, 74%, 59%)
CMYKcmyk(0%, 73.5%, 56.3%, 40.8%)
CIE-LABlab(34.99, 47.43, 11.68)
CIE-LCHlch(34.99, 48.84, 13.84°)
OKLaboklab(45.82% 0.1435 0.0294)
OKLCHoklch(45.82% 0.146 11.6)
XYZxyz(14.5060, 8.4923, 6.0285)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972842 #28977D
analogous
#972879 #972842 #974628
triadic
#972842 #429728 #284297
tetradic
#972842 #799728 #28977D #462897
square
#972842 #799728 #28977D #462897
split-complementary
#972842 #289746 #287997
monochromatic
#360E18 #671B2D #972842 #C73557 #D6647E

Accessibility & contrast

On white

7.78
#972842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#972842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972842
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972842#FFFFFF#000000##FFFFFF
##9728421.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444442
Deuteranopia (green-blind)
#615B3F
Tritanopia (blue-blind)
#A50C33
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972842;
/* rgb */ color: rgb(151, 40, 66);
/* oklch */ color: oklch(45.8% 0.146 11.6);
Tailwind
colors: {
  custom: {
    50: '#bb6b76',
    500: '#972842',
    950: '#000000',
  },
}
SCSS
$custom: #972842;
$custom-light: #bb6b76;
$custom-dark: #000000;
JSON
{
  "hex": "#972842",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 345.946,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4582,
    "c": 0.14645,
    "h": 11.6
  },
  "luminance": 0.0849
}

Semantic roles & 50–950 ramp

primary
#972842
secondary
#5FBCA6
accent
#E1BD46
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #972842

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

Preview Lab → · Contrast checker → · Palette generator →

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