#9F251A#9F251A

#9F251A is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.3% C 0.160 H 29.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9F251A
RGBrgb(159, 37, 26)
HSLhsl(5, 72%, 36%)
HSVhsv(5, 84%, 62%)
CMYKcmyk(0%, 76.7%, 83.6%, 37.6%)
CIE-LABlab(35.54, 48.93, 37.24)
CIE-LCHlch(35.54, 61.49, 37.27°)
OKLaboklab(46.31% 0.139 0.0791)
OKLCHoklch(46.31% 0.16 29.6)
XYZxyz(15.1479, 8.7711, 1.8725)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F251A #1A949F
analogous
#9F1A52 #9F251A #9F681A
triadic
#9F251A #1A9F25 #251A9F
tetradic
#9F251A #529F1A #1A949F #681A9F
square
#9F251A #529F1A #1A949F #681A9F
split-complementary
#9F251A #1A9F68 #1A529F
monochromatic
#360D09 #6A1911 #9F251A #D43123 #E35D51

Accessibility & contrast

On white

7.63
#9F251A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F251A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F251A
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F251A#FFFFFF#000000##FFFFFF
##9F251A1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4217
Deuteranopia (green-blind)
#695D13
Tritanopia (blue-blind)
#B00024
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f251a;
/* rgb */ color: rgb(159, 37, 26);
/* oklch */ color: oklch(46.3% 0.160 29.6);
Tailwind
colors: {
  custom: {
    50: '#c56a58',
    500: '#9f251a',
    950: '#000000',
  },
}
SCSS
$custom: #9f251a;
$custom-light: #c56a58;
$custom-dark: #000000;
JSON
{
  "hex": "#9f251a",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 26
  },
  "hsl": {
    "h": 4.962,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.15994,
    "h": 29.6
  },
  "luminance": 0.08769
}

Semantic roles & 50–950 ramp

primary
#9F251A
secondary
#50BBC5
accent
#E0EF39
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F251A

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

Preview Lab → · Contrast checker → · Palette generator →

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