#98271A#98271A

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

Color values

HEX#98271A
RGBrgb(152, 39, 26)
HSLhsl(6, 71%, 35%)
HSVhsv(6, 83%, 60%)
CMYKcmyk(0%, 74.3%, 82.9%, 40.4%)
CIE-LABlab(34.40, 45.94, 35.67)
CIE-LCHlch(34.40, 58.16, 37.83°)
OKLaboklab(45.21% 0.1304 0.0764)
OKLCHoklch(45.21% 0.151 30.3)
XYZxyz(13.8625, 8.2032, 1.8305)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98271A #1A8B98
analogous
#981A4C #98271A #98661A
triadic
#98271A #1A9827 #271A98
tetradic
#98271A #4C981A #1A8B98 #661A98
square
#98271A #4C981A #1A8B98 #661A98
split-complementary
#98271A #1A9866 #1A4C98
monochromatic
#2F0C08 #641A11 #98271A #CC3423 #E05B4C

Accessibility & contrast

On white

7.95
#98271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#98271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98271A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98271A#FFFFFF#000000##FFFFFF
##98271A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494117
Deuteranopia (green-blind)
#655A14
Tritanopia (blue-blind)
#A80025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #98271a;
/* rgb */ color: rgb(152, 39, 26);
/* oklch */ color: oklch(45.2% 0.151 30.3);
Tailwind
colors: {
  custom: {
    50: '#bf6a58',
    500: '#98271a',
    950: '#000000',
  },
}
SCSS
$custom: #98271a;
$custom-light: #bf6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#98271a",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 6.19,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45213,
    "c": 0.15112,
    "h": 30.3
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#98271A
secondary
#4BB6C2
accent
#DBEE3A
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #98271A

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

Preview Lab → · Contrast checker → · Palette generator →

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