#98271C#98271C

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

Color values

HEX#98271C
RGBrgb(152, 39, 28)
HSLhsl(5, 69%, 35%)
HSVhsv(5, 82%, 60%)
CMYKcmyk(0%, 74.3%, 81.6%, 40.4%)
CIE-LABlab(34.42, 46.00, 34.59)
CIE-LCHlch(34.42, 57.55, 36.94°)
OKLaboklab(45.23% 0.131 0.0747)
OKLCHoklch(45.23% 0.151 29.7)
XYZxyz(13.8857, 8.2124, 1.9524)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98271C #1C8D98
analogous
#981C4F #98271C #98651C
triadic
#98271C #1C9827 #271C98
tetradic
#98271C #4F981C #1C8D98 #651C98
square
#98271C #4F981C #1C8D98 #651C98
split-complementary
#98271C #1C9865 #1C4F98
monochromatic
#310C09 #641A12 #98271C #CC3426 #DF5C50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98271C#FFFFFF#000000##FFFFFF
##98271C1.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)
#494119
Deuteranopia (green-blind)
#655A17
Tritanopia (blue-blind)
#A80026
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #98271c;
/* rgb */ color: rgb(152, 39, 28);
/* oklch */ color: oklch(45.2% 0.151 29.7);
Tailwind
colors: {
  custom: {
    50: '#bf6a59',
    500: '#98271c',
    950: '#000000',
  },
}
SCSS
$custom: #98271c;
$custom-light: #bf6a59;
$custom-dark: #000000;
JSON
{
  "hex": "#98271c",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 5.323,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45233,
    "c": 0.15081,
    "h": 29.7
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#98271C
secondary
#4EB7C1
accent
#DCEC3C
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #98271C

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

Preview Lab → · Contrast checker → · Palette generator →

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