#9B231B#9B231B

#9B231B is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.4% C 0.157 H 28.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9B231B
RGBrgb(155, 35, 27)
HSLhsl(4, 70%, 36%)
HSVhsv(4, 83%, 61%)
CMYKcmyk(0%, 77.4%, 82.6%, 39.2%)
CIE-LABlab(34.50, 48.36, 35.42)
CIE-LCHlch(34.50, 59.95, 36.22°)
OKLaboklab(45.4% 0.1379 0.0759)
OKLCHoklch(45.4% 0.157 28.8)
XYZxyz(14.3182, 8.2520, 1.8756)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B231B #1B939B
analogous
#9B1B53 #9B231B #9B631B
triadic
#9B231B #1B9B23 #231B9B
tetradic
#9B231B #539B1B #1B939B #631B9B
square
#9B231B #539B1B #1B939B #631B9B
split-complementary
#9B231B #1B9B63 #1B539B
monochromatic
#330B09 #671712 #9B231B #CF2F24 #E05950

Accessibility & contrast

On white

7.92
#9B231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9B231B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B231B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B231B#FFFFFF#000000##FFFFFF
##9B231B1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484019
Deuteranopia (green-blind)
#665B15
Tritanopia (blue-blind)
#AB0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b231b;
/* rgb */ color: rgb(155, 35, 27);
/* oklch */ color: oklch(45.4% 0.157 28.8);
Tailwind
colors: {
  custom: {
    50: '#c16859',
    500: '#9b231b',
    950: '#000000',
  },
}
SCSS
$custom: #9b231b;
$custom-light: #c16859;
$custom-dark: #000000;
JSON
{
  "hex": "#9b231b",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 3.75,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45398,
    "c": 0.15736,
    "h": 28.8
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#9B231B
secondary
#4FBCC3
accent
#E2ED3B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9B231B

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

Preview Lab → · Contrast checker → · Palette generator →

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