#98311F#98311F

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

Color values

HEX#98311F
RGBrgb(152, 49, 31)
HSLhsl(9, 66%, 36%)
HSVhsv(9, 80%, 60%)
CMYKcmyk(0%, 67.8%, 79.6%, 40.4%)
CIE-LABlab(35.93, 42.06, 34.45)
CIE-LCHlch(35.93, 54.37, 39.32°)
OKLaboklab(46.37% 0.1193 0.0754)
OKLCHoklch(46.37% 0.141 32.3)
XYZxyz(14.2961, 8.9731, 2.2753)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98311F #1F8698
analogous
#981F49 #98311F #986D1F
triadic
#98311F #1F9831 #311F98
tetradic
#98311F #49981F #1F8698 #6D1F98
square
#98311F #49981F #1F8698 #6D1F98
split-complementary
#98311F #1F986D #1F4998
monochromatic
#32100A #652115 #98311F #CB4129 #DC6955

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98311F#FFFFFF#000000##FFFFFF
##98311F1.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)
#4F461C
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#A8122E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98311f;
/* rgb */ color: rgb(152, 49, 31);
/* oklch */ color: oklch(46.4% 0.141 32.3);
Tailwind
colors: {
  custom: {
    50: '#be6f5c',
    500: '#98311f',
    950: '#000000',
  },
}
SCSS
$custom: #98311f;
$custom-light: #be6f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#98311f",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 8.926,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46374,
    "c": 0.14113,
    "h": 32.3
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#98311F
secondary
#53B0C0
accent
#D0E93F
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140804
muted
#827B79

Preview Lab

Preview with #98311F

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

Preview Lab → · Contrast checker → · Palette generator →

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