#98231A#98231A

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

Color values

HEX#98231A
RGBrgb(152, 35, 26)
HSLhsl(4, 71%, 35%)
HSVhsv(4, 83%, 60%)
CMYKcmyk(0%, 77%, 82.9%, 40.4%)
CIE-LABlab(33.89, 47.37, 35.17)
CIE-LCHlch(33.89, 59.00, 36.59°)
OKLaboklab(44.83% 0.1349 0.0753)
OKLCHoklch(44.83% 0.154 29.2)
XYZxyz(13.7380, 7.9542, 1.7890)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98231A #1A8F98
analogous
#981A50 #98231A #98621A
triadic
#98231A #1A9823 #231A98
tetradic
#98231A #50981A #1A8F98 #621A98
square
#98231A #50981A #1A8F98 #621A98
split-complementary
#98231A #1A9862 #1A5098
monochromatic
#2F0B08 #641711 #98231A #CC2F23 #E0574C

Accessibility & contrast

On white

8.11
#98231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98231A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98231A#FFFFFF#000000##FFFFFF
##98231A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F17
Deuteranopia (green-blind)
#645914
Tritanopia (blue-blind)
#A80022
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #98231a;
/* rgb */ color: rgb(152, 35, 26);
/* oklch */ color: oklch(44.8% 0.154 29.2);
Tailwind
colors: {
  custom: {
    50: '#bf6858',
    500: '#98231a',
    950: '#000000',
  },
}
SCSS
$custom: #98231a;
$custom-light: #bf6858;
$custom-dark: #000000;
JSON
{
  "hex": "#98231a",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 4.286,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44828,
    "c": 0.15446,
    "h": 29.2
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

primary
#98231A
secondary
#4BBAC2
accent
#E1EE3A
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #98231A

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

Preview Lab → · Contrast checker → · Palette generator →

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