#98231B#98231B

#98231B is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.8% C 0.154 H 28.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#98231B
RGBrgb(152, 35, 27)
HSLhsl(4, 70%, 35%)
HSVhsv(4, 82%, 60%)
CMYKcmyk(0%, 77%, 82.2%, 40.4%)
CIE-LABlab(33.90, 47.40, 34.62)
CIE-LCHlch(33.90, 58.70, 36.15°)
OKLaboklab(44.84% 0.1352 0.0744)
OKLCHoklch(44.84% 0.154 28.8)
XYZxyz(13.7494, 7.9588, 1.8489)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98231B #1B9098
analogous
#981B51 #98231B #98611B
triadic
#98231B #1B9823 #231B98
tetradic
#98231B #51981B #1B9098 #611B98
square
#98231B #51981B #1B9098 #611B98
split-complementary
#98231B #1B9861 #1B5198
monochromatic
#300B09 #641712 #98231B #CC2F24 #E0574E

Accessibility & contrast

On white

8.10
#98231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#98231B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98231B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98231B#FFFFFF#000000##FFFFFF
##98231B1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F19
Deuteranopia (green-blind)
#645915
Tritanopia (blue-blind)
#A80023
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #98231b;
/* rgb */ color: rgb(152, 35, 27);
/* oklch */ color: oklch(44.8% 0.154 28.8);
Tailwind
colors: {
  custom: {
    50: '#bf6858',
    500: '#98231b',
    950: '#000000',
  },
}
SCSS
$custom: #98231b;
$custom-light: #bf6858;
$custom-dark: #000000;
JSON
{
  "hex": "#98231b",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 3.84,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44838,
    "c": 0.15432,
    "h": 28.8
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#98231B
secondary
#4DBAC2
accent
#E1ED3B
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #98231B

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

Preview Lab → · Contrast checker → · Palette generator →

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