#98231C#98231C

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

Color values

HEX#98231C
RGBrgb(152, 35, 28)
HSLhsl(3, 69%, 35%)
HSVhsv(3, 82%, 60%)
CMYKcmyk(0%, 77%, 81.6%, 40.4%)
CIE-LABlab(33.91, 47.43, 34.07)
CIE-LCHlch(33.91, 58.40, 35.69°)
OKLaboklab(44.85% 0.1355 0.0736)
OKLCHoklch(44.85% 0.154 28.5)
XYZxyz(13.7612, 7.9635, 1.9109)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98231C #1C9198
analogous
#981C53 #98231C #98611C
triadic
#98231C #1C9823 #231C98
tetradic
#98231C #53981C #1C9198 #611C98
square
#98231C #53981C #1C9198 #611C98
split-complementary
#98231C #1C9861 #1C5398
monochromatic
#310B09 #641712 #98231C #CC2F26 #DF5850

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98231C#FFFFFF#000000##FFFFFF
##98231C1.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)
#473F1A
Deuteranopia (green-blind)
#645916
Tritanopia (blue-blind)
#A80023
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #98231c;
/* rgb */ color: rgb(152, 35, 28);
/* oklch */ color: oklch(44.8% 0.154 28.5);
Tailwind
colors: {
  custom: {
    50: '#bf6859',
    500: '#98231c',
    950: '#000000',
  },
}
SCSS
$custom: #98231c;
$custom-light: #bf6859;
$custom-dark: #000000;
JSON
{
  "hex": "#98231c",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 3.387,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44849,
    "c": 0.15418,
    "h": 28.5
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#98231C
secondary
#4EBBC1
accent
#E2EC3C
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #98231C

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

Preview Lab → · Contrast checker → · Palette generator →

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