#98251A#98251A

#98251A is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.0% C 0.153 H 29.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#98251A
RGBrgb(152, 37, 26)
HSLhsl(5, 71%, 35%)
HSVhsv(5, 83%, 60%)
CMYKcmyk(0%, 75.7%, 82.9%, 40.4%)
CIE-LABlab(34.14, 46.67, 35.41)
CIE-LCHlch(34.14, 58.58, 37.19°)
OKLaboklab(45.02% 0.1327 0.0758)
OKLCHoklch(45.02% 0.153 29.7)
XYZxyz(13.7986, 8.0753, 1.8092)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98251A #1A8D98
analogous
#981A4E #98251A #98641A
triadic
#98251A #1A9825 #251A98
tetradic
#98251A #4E981A #1A8D98 #641A98
square
#98251A #4E981A #1A8D98 #641A98
split-complementary
#98251A #1A9864 #1A4E98
monochromatic
#2F0C08 #641811 #98251A #CC3223 #E0594C

Accessibility & contrast

On white

8.03
#98251A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#98251A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98251A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98251A#FFFFFF#000000##FFFFFF
##98251A1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484017
Deuteranopia (green-blind)
#655914
Tritanopia (blue-blind)
#A80024
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #98251a;
/* rgb */ color: rgb(152, 37, 26);
/* oklch */ color: oklch(45.0% 0.153 29.7);
Tailwind
colors: {
  custom: {
    50: '#bf6958',
    500: '#98251a',
    950: '#000000',
  },
}
SCSS
$custom: #98251a;
$custom-light: #bf6958;
$custom-dark: #000000;
JSON
{
  "hex": "#98251a",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 26
  },
  "hsl": {
    "h": 5.238,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45016,
    "c": 0.15282,
    "h": 29.7
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

primary
#98251A
secondary
#4BB8C2
accent
#DEEE3A
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #98251A

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

Preview Lab → · Contrast checker → · Palette generator →

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