#98251F#98251F

#98251F is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.1% C 0.152 H 28.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#98251F
RGBrgb(152, 37, 31)
HSLhsl(3, 66%, 36%)
HSVhsv(3, 80%, 60%)
CMYKcmyk(0%, 75.7%, 79.6%, 40.4%)
CIE-LABlab(34.19, 46.84, 32.65)
CIE-LCHlch(34.19, 57.09, 34.88°)
OKLaboklab(45.07% 0.1343 0.0714)
OKLCHoklch(45.07% 0.152 28)
XYZxyz(13.8594, 8.0996, 2.1297)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98251F #1F9298
analogous
#981F55 #98251F #98611F
triadic
#98251F #1F9825 #251F98
tetradic
#98251F #55981F #1F9298 #611F98
square
#98251F #55981F #1F9298 #611F98
split-complementary
#98251F #1F9861 #1F5598
monochromatic
#320C0A #651915 #98251F #CB3129 #DC5C55

Accessibility & contrast

On white

8.02
#98251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98251F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98251F#FFFFFF#000000##FFFFFF
##98251F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401D
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#A80025
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #98251f;
/* rgb */ color: rgb(152, 37, 31);
/* oklch */ color: oklch(45.1% 0.152 28.0);
Tailwind
colors: {
  custom: {
    50: '#bf695b',
    500: '#98251f',
    950: '#000000',
  },
}
SCSS
$custom: #98251f;
$custom-light: #bf695b;
$custom-dark: #000000;
JSON
{
  "hex": "#98251f",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 2.975,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.15207,
    "h": 28
  },
  "luminance": 0.08097
}

Semantic roles & 50–950 ramp

primary
#98251F
secondary
#53BAC0
accent
#E1E93F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #98251F

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

Preview Lab → · Contrast checker → · Palette generator →

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