#98311B#98311B

#98311B is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.3% C 0.142 H 33.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#98311B
RGBrgb(152, 49, 27)
HSLhsl(11, 70%, 35%)
HSVhsv(11, 82%, 60%)
CMYKcmyk(0%, 67.8%, 82.2%, 40.4%)
CIE-LABlab(35.89, 41.92, 36.57)
CIE-LCHlch(35.89, 55.63, 41.10°)
OKLaboklab(46.33% 0.1181 0.0787)
OKLCHoklch(46.33% 0.142 33.7)
XYZxyz(14.2467, 8.9533, 2.0147)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98311B #1B8298
analogous
#981B44 #98311B #986F1B
triadic
#98311B #1B9831 #311B98
tetradic
#98311B #44981B #1B8298 #6F1B98
square
#98311B #44981B #1B8298 #6F1B98
split-complementary
#98311B #1B986F #1B4498
monochromatic
#300F09 #642012 #98311B #CC4224 #E0684E

Accessibility & contrast

On white

7.53
#98311B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#98311B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98311B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98311B#FFFFFF#000000##FFFFFF
##98311B1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4617
Deuteranopia (green-blind)
#685D16
Tritanopia (blue-blind)
#A8112D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98311b;
/* rgb */ color: rgb(152, 49, 27);
/* oklch */ color: oklch(46.3% 0.142 33.7);
Tailwind
colors: {
  custom: {
    50: '#be6f59',
    500: '#98311b',
    950: '#000000',
  },
}
SCSS
$custom: #98311b;
$custom-light: #be6f59;
$custom-dark: #000000;
JSON
{
  "hex": "#98311b",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 10.56,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46333,
    "c": 0.14193,
    "h": 33.7
  },
  "luminance": 0.08951
}

Semantic roles & 50–950 ramp

primary
#98311B
secondary
#4DADC2
accent
#CDED3B
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140803
muted
#827B78

Preview Lab

Preview with #98311B

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

Preview Lab → · Contrast checker → · Palette generator →

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