#9F231A#9F231A

#9F231A is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.162 H 29.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9F231A
RGBrgb(159, 35, 26)
HSLhsl(4, 72%, 36%)
HSVhsv(4, 84%, 62%)
CMYKcmyk(0%, 78%, 83.6%, 37.6%)
CIE-LABlab(35.30, 49.60, 37.01)
CIE-LCHlch(35.30, 61.89, 36.73°)
OKLaboklab(46.13% 0.1411 0.0786)
OKLCHoklch(46.13% 0.162 29.1)
XYZxyz(15.0874, 8.6500, 1.8523)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F231A #1A969F
analogous
#9F1A54 #9F231A #9F661A
triadic
#9F231A #1A9F23 #231A9F
tetradic
#9F231A #549F1A #1A969F #661A9F
square
#9F231A #549F1A #1A969F #661A9F
split-complementary
#9F231A #1A9F66 #1A549F
monochromatic
#360C09 #6A1711 #9F231A #D42F23 #E35B51

Accessibility & contrast

On white

7.69
#9F231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F231A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F231A
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F231A#FFFFFF#000000##FFFFFF
##9F231A1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4217
Deuteranopia (green-blind)
#685D13
Tritanopia (blue-blind)
#B00023
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f231a;
/* rgb */ color: rgb(159, 35, 26);
/* oklch */ color: oklch(46.1% 0.162 29.1);
Tailwind
colors: {
  custom: {
    50: '#c56958',
    500: '#9f231a',
    950: '#000000',
  },
}
SCSS
$custom: #9f231a;
$custom-light: #c56958;
$custom-dark: #000000;
JSON
{
  "hex": "#9f231a",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 4.06,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46134,
    "c": 0.16151,
    "h": 29.1
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#9F231A
secondary
#50BDC5
accent
#E2EF39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F231A

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

Preview Lab → · Contrast checker → · Palette generator →

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