#98271E#98271E

#98271E is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.3% C 0.150 H 29.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#98271E
RGBrgb(152, 39, 30)
HSLhsl(4, 67%, 36%)
HSVhsv(4, 80%, 60%)
CMYKcmyk(0%, 74.3%, 80.3%, 40.4%)
CIE-LABlab(34.44, 46.07, 33.48)
CIE-LCHlch(34.44, 56.95, 36.01°)
OKLaboklab(45.25% 0.1316 0.073)
OKLCHoklch(45.25% 0.151 29)
XYZxyz(13.9104, 8.2223, 2.0827)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98271E #1E8F98
analogous
#981E52 #98271E #98641E
triadic
#98271E #1E9827 #271E98
tetradic
#98271E #52981E #1E8F98 #641E98
square
#98271E #52981E #1E8F98 #641E98
split-complementary
#98271E #1E9864 #1E5298
monochromatic
#320D0A #651A14 #98271E #CB3428 #DD5D53

Accessibility & contrast

On white

7.94
#98271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98271E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98271E#FFFFFF#000000##FFFFFF
##98271E1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411C
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#A80026
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #98271e;
/* rgb */ color: rgb(152, 39, 30);
/* oklch */ color: oklch(45.3% 0.150 29.0);
Tailwind
colors: {
  custom: {
    50: '#bf6a5b',
    500: '#98271e',
    950: '#000000',
  },
}
SCSS
$custom: #98271e;
$custom-light: #bf6a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#98271e",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 4.426,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45254,
    "c": 0.1505,
    "h": 29
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#98271E
secondary
#51B8C0
accent
#DDEA3E
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #98271E

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

Preview Lab → · Contrast checker → · Palette generator →

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