#98231E#98231E

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

Color values

HEX#98231E
RGBrgb(152, 35, 30)
HSLhsl(2, 67%, 36%)
HSVhsv(2, 80%, 60%)
CMYKcmyk(0%, 77%, 80.3%, 40.4%)
CIE-LABlab(33.93, 47.50, 32.95)
CIE-LCHlch(33.93, 57.81, 34.75°)
OKLaboklab(44.87% 0.1361 0.0718)
OKLCHoklch(44.87% 0.154 27.8)
XYZxyz(13.7859, 7.9734, 2.0412)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98231E #1E9398
analogous
#981E56 #98231E #98601E
triadic
#98231E #1E9823 #231E98
tetradic
#98231E #56981E #1E9398 #601E98
square
#98231E #56981E #1E9398 #601E98
split-complementary
#98231E #1E9860 #1E5698
monochromatic
#320B0A #651714 #98231E #CB2F28 #DD5953

Accessibility & contrast

On white

8.09
#98231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98231E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98231E#FFFFFF#000000##FFFFFF
##98231E1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98231e;
/* rgb */ color: rgb(152, 35, 30);
/* oklch */ color: oklch(44.9% 0.154 27.8);
Tailwind
colors: {
  custom: {
    50: '#bf685b',
    500: '#98231e',
    950: '#000000',
  },
}
SCSS
$custom: #98231e;
$custom-light: #bf685b;
$custom-dark: #000000;
JSON
{
  "hex": "#98231e",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 2.459,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44871,
    "c": 0.1539,
    "h": 27.8
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#98231E
secondary
#51BCC0
accent
#E3EA3E
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #98231E

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

Preview Lab → · Contrast checker → · Palette generator →

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