#98311E#98311E

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

Color values

HEX#98311E
RGBrgb(152, 49, 30)
HSLhsl(9, 67%, 36%)
HSVhsv(9, 80%, 60%)
CMYKcmyk(0%, 67.8%, 80.3%, 40.4%)
CIE-LABlab(35.92, 42.02, 34.99)
CIE-LCHlch(35.92, 54.68, 39.78°)
OKLaboklab(46.36% 0.119 0.0762)
OKLCHoklch(46.36% 0.141 32.6)
XYZxyz(14.2832, 8.9679, 2.2069)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98311E #1E8598
analogous
#981E48 #98311E #986E1E
triadic
#98311E #1E9831 #311E98
tetradic
#98311E #48981E #1E8598 #6E1E98
square
#98311E #48981E #1E8598 #6E1E98
split-complementary
#98311E #1E986E #1E4898
monochromatic
#32100A #652114 #98311E #CB4128 #DD6953

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98311E#FFFFFF#000000##FFFFFF
##98311E1.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)
#4F461B
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#A8122D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98311e;
/* rgb */ color: rgb(152, 49, 30);
/* oklch */ color: oklch(46.4% 0.141 32.6);
Tailwind
colors: {
  custom: {
    50: '#be6f5b',
    500: '#98311e',
    950: '#000000',
  },
}
SCSS
$custom: #98311e;
$custom-light: #be6f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#98311e",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 30
  },
  "hsl": {
    "h": 9.344,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46363,
    "c": 0.14134,
    "h": 32.6
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#98311E
secondary
#51AFC0
accent
#CFEA3E
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140804
muted
#827B79

Preview Lab

Preview with #98311E

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

Preview Lab → · Contrast checker → · Palette generator →

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