#98291F#98291F

#98291F is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.5% C 0.149 H 29.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#98291F
RGBrgb(152, 41, 31)
HSLhsl(5, 66%, 36%)
HSVhsv(5, 80%, 60%)
CMYKcmyk(0%, 73%, 79.6%, 40.4%)
CIE-LABlab(34.73, 45.35, 33.21)
CIE-LCHlch(34.73, 56.21, 36.21°)
OKLaboklab(45.47% 0.1296 0.0727)
OKLCHoklch(45.47% 0.149 29.3)
XYZxyz(13.9908, 8.3624, 2.1735)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98291F #1F8E98
analogous
#981F51 #98291F #98651F
triadic
#98291F #1F9829 #291F98
tetradic
#98291F #51981F #1F8E98 #651F98
square
#98291F #51981F #1F8E98 #651F98
split-complementary
#98291F #1F9865 #1F5198
monochromatic
#320E0A #651B15 #98291F #CB3729 #DC6055

Accessibility & contrast

On white

7.86
#98291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#98291F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98291F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98291F#FFFFFF#000000##FFFFFF
##98291F1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421D
Deuteranopia (green-blind)
#655B1A
Tritanopia (blue-blind)
#A80028
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #98291f;
/* rgb */ color: rgb(152, 41, 31);
/* oklch */ color: oklch(45.5% 0.149 29.3);
Tailwind
colors: {
  custom: {
    50: '#bf6b5b',
    500: '#98291f',
    950: '#000000',
  },
}
SCSS
$custom: #98291f;
$custom-light: #bf6b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#98291f",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 4.959,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4547,
    "c": 0.14857,
    "h": 29.3
  },
  "luminance": 0.0836
}

Semantic roles & 50–950 ramp

primary
#98291F
secondary
#53B7C0
accent
#DBE93F
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79

Preview Lab

Preview with #98291F

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

Preview Lab → · Contrast checker → · Palette generator →

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