#9E251F#9E251F

#9E251F is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.158 H 28.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9E251F
RGBrgb(158, 37, 31)
HSLhsl(3, 67%, 37%)
HSVhsv(3, 80%, 62%)
CMYKcmyk(0%, 76.6%, 80.4%, 38%)
CIE-LABlab(35.39, 48.77, 34.26)
CIE-LCHlch(35.39, 59.60, 35.09°)
OKLaboklab(46.18% 0.1396 0.0745)
OKLCHoklch(46.18% 0.158 28.1)
XYZxyz(15.0112, 8.6935, 2.1837)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E251F #1F989E
analogous
#9E1F58 #9E251F #9E651F
triadic
#9E251F #1F9E25 #251F9E
tetradic
#9E251F #589E1F #1F989E #651F9E
square
#9E251F #589E1F #1F989E #651F9E
split-complementary
#9E251F #1F9E65 #1F589E
monochromatic
#380D0B #6B1915 #9E251F #D13129 #DE5F59

Accessibility & contrast

On white

7.67
#9E251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9E251F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E251F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E251F#FFFFFF#000000##FFFFFF
##9E251F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421D
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#AE0025
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e251f;
/* rgb */ color: rgb(158, 37, 31);
/* oklch */ color: oklch(46.2% 0.158 28.1);
Tailwind
colors: {
  custom: {
    50: '#c36a5b',
    500: '#9e251f',
    950: '#000000',
  },
}
SCSS
$custom: #9e251f;
$custom-light: #c36a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e251f",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 2.835,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46178,
    "c": 0.15823,
    "h": 28.1
  },
  "luminance": 0.08691
}

Semantic roles & 50–950 ramp

primary
#9E251F
secondary
#56BDC2
accent
#E2EA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E251F

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

Preview Lab → · Contrast checker → · Palette generator →

#9E251F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva