#98251B#98251B

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

Color values

HEX#98251B
RGBrgb(152, 37, 27)
HSLhsl(5, 70%, 35%)
HSVhsv(5, 82%, 60%)
CMYKcmyk(0%, 75.7%, 82.2%, 40.4%)
CIE-LABlab(34.15, 46.70, 34.87)
CIE-LCHlch(34.15, 58.28, 36.75°)
OKLaboklab(45.03% 0.133 0.075)
OKLCHoklch(45.03% 0.153 29.4)
XYZxyz(13.8100, 8.0798, 1.8691)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98251B #1B8E98
analogous
#981B4F #98251B #98631B
triadic
#98251B #1B9825 #251B98
tetradic
#98251B #4F981B #1B8E98 #631B98
square
#98251B #4F981B #1B8E98 #631B98
split-complementary
#98251B #1B9863 #1B4F98
monochromatic
#300C09 #641812 #98251B #CC3224 #E05A4E

Accessibility & contrast

On white

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

On black

2.62
#98251B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##98251B#FFFFFF#000000##FFFFFF
##98251B1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98251b;
/* rgb */ color: rgb(152, 37, 27);
/* oklch */ color: oklch(45.0% 0.153 29.4);
Tailwind
colors: {
  custom: {
    50: '#bf6959',
    500: '#98251b',
    950: '#000000',
  },
}
SCSS
$custom: #98251b;
$custom-light: #bf6959;
$custom-dark: #000000;
JSON
{
  "hex": "#98251b",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 27
  },
  "hsl": {
    "h": 4.8,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45026,
    "c": 0.15267,
    "h": 29.4
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#98251B
secondary
#4DB9C2
accent
#DEED3B
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #98251B

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

Preview Lab → · Contrast checker → · Palette generator →

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