#98261F#98261F

#98261F is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.2% C 0.151 H 28.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#98261F
RGBrgb(152, 38, 31)
HSLhsl(3, 66%, 36%)
HSVhsv(3, 80%, 60%)
CMYKcmyk(0%, 75%, 79.6%, 40.4%)
CIE-LABlab(34.32, 46.48, 32.78)
CIE-LCHlch(34.32, 56.88, 35.20°)
OKLaboklab(45.17% 0.1331 0.0717)
OKLCHoklch(45.17% 0.151 28.3)
XYZxyz(13.8910, 8.1627, 2.1402)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98261F #1F9198
analogous
#981F54 #98261F #98621F
triadic
#98261F #1F9826 #261F98
tetradic
#98261F #54981F #1F9198 #621F98
square
#98261F #54981F #1F9198 #621F98
split-complementary
#98261F #1F9862 #1F5498
monochromatic
#320D0A #651915 #98261F #CB3329 #DC5D55

Accessibility & contrast

On white

7.98
#98261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#98261F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98261F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98261F#FFFFFF#000000##FFFFFF
##98261F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48411D
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#A80026
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #98261f;
/* rgb */ color: rgb(152, 38, 31);
/* oklch */ color: oklch(45.2% 0.151 28.3);
Tailwind
colors: {
  custom: {
    50: '#bf695b',
    500: '#98261f',
    950: '#000000',
  },
}
SCSS
$custom: #98261f;
$custom-light: #bf695b;
$custom-dark: #000000;
JSON
{
  "hex": "#98261f",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 3.471,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45166,
    "c": 0.15122,
    "h": 28.3
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

primary
#98261F
secondary
#53BAC0
accent
#DFE93F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #98261F

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

Preview Lab → · Contrast checker → · Palette generator →

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