#98371B#98371B

#98371B is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.1% C 0.136 H 36.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#98371B
RGBrgb(152, 55, 27)
HSLhsl(13, 70%, 35%)
HSVhsv(13, 82%, 60%)
CMYKcmyk(0%, 63.8%, 82.2%, 40.4%)
CIE-LABlab(36.91, 39.20, 37.55)
CIE-LCHlch(36.91, 54.28, 43.77°)
OKLaboklab(47.1% 0.1097 0.0809)
OKLCHoklch(47.1% 0.136 36.4)
XYZxyz(14.5145, 9.4890, 2.1040)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98371B #1B7C98
analogous
#981B3E #98371B #98751B
triadic
#98371B #1B9837 #371B98
tetradic
#98371B #3E981B #1B7C98 #751B98
square
#98371B #3E981B #1B7C98 #751B98
split-complementary
#98371B #1B9875 #1B3E98
monochromatic
#301109 #642412 #98371B #CC4A24 #E06E4E

Accessibility & contrast

On white

7.25
#98371B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#98371B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98371B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98371B#FFFFFF#000000##FFFFFF
##98371B1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534917
Deuteranopia (green-blind)
#6B5F17
Tritanopia (blue-blind)
#A81D31
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98371b;
/* rgb */ color: rgb(152, 55, 27);
/* oklch */ color: oklch(47.1% 0.136 36.4);
Tailwind
colors: {
  custom: {
    50: '#be725a',
    500: '#98371b',
    950: '#000000',
  },
}
SCSS
$custom: #98371b;
$custom-light: #be725a;
$custom-dark: #000000;
JSON
{
  "hex": "#98371b",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 27
  },
  "hsl": {
    "h": 13.44,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47097,
    "c": 0.13629,
    "h": 36.4
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

primary
#98371B
secondary
#4DA8C2
accent
#C5ED3B
background
#FCF7F5
surface
#F9EDE9
border
#D2C8C5
text
#140804
muted
#827B79

Preview Lab

Preview with #98371B

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

Preview Lab → · Contrast checker → · Palette generator →

#98371B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva