#98371F#98371F

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

Color values

HEX#98371F
RGBrgb(152, 55, 31)
HSLhsl(12, 66%, 36%)
HSVhsv(12, 80%, 60%)
CMYKcmyk(0%, 63.8%, 79.6%, 40.4%)
CIE-LABlab(36.95, 39.34, 35.49)
CIE-LCHlch(36.95, 52.98, 42.05°)
OKLaboklab(47.14% 0.1109 0.0776)
OKLCHoklch(47.14% 0.135 35)
XYZxyz(14.5640, 9.5088, 2.3645)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98371F #1F8098
analogous
#981F43 #98371F #98731F
triadic
#98371F #1F9837 #371F98
tetradic
#98371F #43981F #1F8098 #731F98
square
#98371F #43981F #1F8098 #731F98
split-complementary
#98371F #1F9873 #1F4398
monochromatic
#32120A #652515 #98371F #CB4929 #DC7055

Accessibility & contrast

On white

7.24
#98371F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98371F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98371F#FFFFFF#000000##FFFFFF
##98371F1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491C
Deuteranopia (green-blind)
#6A5F1B
Tritanopia (blue-blind)
#A71E32
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98371f;
/* rgb */ color: rgb(152, 55, 31);
/* oklch */ color: oklch(47.1% 0.135 35.0);
Tailwind
colors: {
  custom: {
    50: '#be725c',
    500: '#98371f',
    950: '#000000',
  },
}
SCSS
$custom: #98371f;
$custom-light: #be725c;
$custom-dark: #000000;
JSON
{
  "hex": "#98371f",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 31
  },
  "hsl": {
    "h": 11.901,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47137,
    "c": 0.13536,
    "h": 35
  },
  "luminance": 0.09507
}

Semantic roles & 50–950 ramp

primary
#98371F
secondary
#53AAC0
accent
#C7E93F
background
#FCF7F5
surface
#F8EDE9
border
#D1C8C5
text
#130804
muted
#827B79

Preview Lab

Preview with #98371F

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

Preview Lab → · Contrast checker → · Palette generator →

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