#98331B#98331B

#98331B is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.6% C 0.140 H 34.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#98331B
RGBrgb(152, 51, 27)
HSLhsl(12, 70%, 35%)
HSVhsv(12, 82%, 60%)
CMYKcmyk(0%, 66.4%, 82.2%, 40.4%)
CIE-LABlab(36.22, 41.03, 36.89)
CIE-LCHlch(36.22, 55.18, 41.96°)
OKLaboklab(46.58% 0.1154 0.0794)
OKLCHoklch(46.58% 0.14 34.5)
XYZxyz(14.3322, 9.1243, 2.0432)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98331B #1B8098
analogous
#981B42 #98331B #98711B
triadic
#98331B #1B9833 #331B98
tetradic
#98331B #42981B #1B8098 #711B98
square
#98331B #42981B #1B8098 #711B98
split-complementary
#98331B #1B9871 #1B4298
monochromatic
#301009 #642212 #98331B #CC4424 #E06A4E

Accessibility & contrast

On white

7.44
#98331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#98331B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98331B
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98331B#FFFFFF#000000##FFFFFF
##98331B1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504717
Deuteranopia (green-blind)
#695E17
Tritanopia (blue-blind)
#A8162E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #98331b;
/* rgb */ color: rgb(152, 51, 27);
/* oklch */ color: oklch(46.6% 0.140 34.5);
Tailwind
colors: {
  custom: {
    50: '#be7059',
    500: '#98331b',
    950: '#000000',
  },
}
SCSS
$custom: #98331b;
$custom-light: #be7059;
$custom-dark: #000000;
JSON
{
  "hex": "#98331b",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 11.52,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4658,
    "c": 0.14006,
    "h": 34.5
  },
  "luminance": 0.09122
}

Semantic roles & 50–950 ramp

primary
#98331B
secondary
#4DABC2
accent
#CBED3B
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140804
muted
#827B79

Preview Lab

Preview with #98331B

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

Preview Lab → · Contrast checker → · Palette generator →

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