#972138#972138

#972138 is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.9% C 0.153 H 15.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#972138
RGBrgb(151, 33, 56)
HSLhsl(348, 64%, 36%)
HSVhsv(348, 78%, 59%)
CMYKcmyk(0%, 78.1%, 62.9%, 40.8%)
CIE-LABlab(33.89, 49.16, 16.67)
CIE-LCHlch(33.89, 51.91, 18.74°)
OKLaboklab(44.93% 0.1473 0.0406)
OKLCHoklch(44.93% 0.153 15.4)
XYZxyz(14.0216, 7.9546, 4.5377)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972138 #219780
analogous
#972173 #972138 #974521
triadic
#972138 #389721 #213897
tetradic
#972138 #739721 #219780 #452197
square
#972138 #739721 #219780 #452197
split-complementary
#972138 #219745 #217397
monochromatic
#330B13 #651625 #972138 #C92C4B #DA5871

Accessibility & contrast

On white

8.11
#972138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#972138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972138
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972138#FFFFFF#000000##FFFFFF
##9721381.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972138;
/* rgb */ color: rgb(151, 33, 56);
/* oklch */ color: oklch(44.9% 0.153 15.4);
Tailwind
colors: {
  custom: {
    50: '#bc686e',
    500: '#972138',
    950: '#000000',
  },
}
SCSS
$custom: #972138;
$custom-light: #bc686e;
$custom-dark: #000000;
JSON
{
  "hex": "#972138",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 348.305,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44934,
    "c": 0.15276,
    "h": 15.4
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#972138
secondary
#55BEAA
accent
#E7C741
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #972138

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

Preview Lab → · Contrast checker → · Palette generator →

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