#98231F#98231F

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

Color values

HEX#98231F
RGBrgb(152, 35, 31)
HSLhsl(2, 66%, 36%)
HSVhsv(2, 80%, 60%)
CMYKcmyk(0%, 77%, 79.6%, 40.4%)
CIE-LABlab(33.94, 47.54, 32.38)
CIE-LCHlch(33.94, 57.52, 34.26°)
OKLaboklab(44.88% 0.1364 0.0709)
OKLCHoklch(44.88% 0.154 27.4)
XYZxyz(13.7989, 7.9786, 2.1095)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98231F #1F9498
analogous
#981F58 #98231F #985F1F
triadic
#98231F #1F9823 #231F98
tetradic
#98231F #58981F #1F9498 #5F1F98
square
#98231F #58981F #1F9498 #5F1F98
split-complementary
#98231F #1F985F #1F5898
monochromatic
#320C0A #651715 #98231F #CB2F29 #DC5A55

Accessibility & contrast

On white

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

On black

2.60
#98231F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##98231F#FFFFFF#000000##FFFFFF
##98231F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401D
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#A80024
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #98231f;
/* rgb */ color: rgb(152, 35, 31);
/* oklch */ color: oklch(44.9% 0.154 27.4);
Tailwind
colors: {
  custom: {
    50: '#bf685b',
    500: '#98231f',
    950: '#000000',
  },
}
SCSS
$custom: #98231f;
$custom-light: #bf685b;
$custom-dark: #000000;
JSON
{
  "hex": "#98231f",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 1.983,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44882,
    "c": 0.15376,
    "h": 27.4
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#98231F
secondary
#53BCC0
accent
#E3E93F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #98231F

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

Preview Lab → · Contrast checker → · Palette generator →

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