#972238#972238

#972238 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.0% C 0.152 H 15.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#972238
RGBrgb(151, 34, 56)
HSLhsl(349, 63%, 36%)
HSVhsv(349, 77%, 59%)
CMYKcmyk(0%, 77.5%, 62.9%, 40.8%)
CIE-LABlab(34.01, 48.83, 16.83)
CIE-LCHlch(34.01, 51.65, 19.02°)
OKLaboklab(45.02% 0.1462 0.0409)
OKLCHoklch(45.02% 0.152 15.6)
XYZxyz(14.0498, 8.0110, 4.5471)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972238 #229781
analogous
#972273 #972238 #974722
triadic
#972238 #389722 #223897
tetradic
#972238 #739722 #229781 #472297
square
#972238 #739722 #229781 #472297
split-complementary
#972238 #229747 #227397
monochromatic
#330C13 #651725 #972238 #C92D4B #DA5A72

Accessibility & contrast

On white

8.07
#972238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#972238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972238
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972238#FFFFFF#000000##FFFFFF
##9722381.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434038
Deuteranopia (green-blind)
#615935
Tritanopia (blue-blind)
#A6002B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #972238;
/* rgb */ color: rgb(151, 34, 56);
/* oklch */ color: oklch(45.0% 0.152 15.6);
Tailwind
colors: {
  custom: {
    50: '#bc686e',
    500: '#972238',
    950: '#000000',
  },
}
SCSS
$custom: #972238;
$custom-light: #bc686e;
$custom-dark: #000000;
JSON
{
  "hex": "#972238",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 348.718,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45021,
    "c": 0.15184,
    "h": 15.6
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

primary
#972238
secondary
#57BEAB
accent
#E6C742
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #972238

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

Preview Lab → · Contrast checker → · Palette generator →

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