#98311C#98311C

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

Color values

HEX#98311C
RGBrgb(152, 49, 28)
HSLhsl(10, 69%, 35%)
HSVhsv(10, 82%, 60%)
CMYKcmyk(0%, 67.8%, 81.6%, 40.4%)
CIE-LABlab(35.90, 41.95, 36.05)
CIE-LCHlch(35.90, 55.31, 40.67°)
OKLaboklab(46.34% 0.1184 0.0779)
OKLCHoklch(46.34% 0.142 33.3)
XYZxyz(14.2584, 8.9580, 2.0767)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98311C #1C8398
analogous
#981C45 #98311C #986F1C
triadic
#98311C #1C9831 #311C98
tetradic
#98311C #45981C #1C8398 #6F1C98
square
#98311C #45981C #1C8398 #6F1C98
split-complementary
#98311C #1C986F #1C4598
monochromatic
#311009 #642012 #98311C #CC4226 #DF6850

Accessibility & contrast

On white

7.52
#98311C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98311C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98311C#FFFFFF#000000##FFFFFF
##98311C1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98311c;
/* rgb */ color: rgb(152, 49, 28);
/* oklch */ color: oklch(46.3% 0.142 33.3);
Tailwind
colors: {
  custom: {
    50: '#be6f5a',
    500: '#98311c',
    950: '#000000',
  },
}
SCSS
$custom: #98311c;
$custom-light: #be6f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#98311c",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 10.161,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46343,
    "c": 0.14173,
    "h": 33.3
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#98311C
secondary
#4EAEC1
accent
#CEEC3C
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140804
muted
#827B79

Preview Lab

Preview with #98311C

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

Preview Lab → · Contrast checker → · Palette generator →

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