#9B231F#9B231F

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

Color values

HEX#9B231F
RGBrgb(155, 35, 31)
HSLhsl(2, 67%, 36%)
HSVhsv(2, 80%, 61%)
CMYKcmyk(0%, 77.4%, 80%, 39.2%)
CIE-LABlab(34.54, 48.49, 33.20)
CIE-LCHlch(34.54, 58.77, 34.40°)
OKLaboklab(45.44% 0.1391 0.0724)
OKLCHoklch(45.44% 0.157 27.5)
XYZxyz(14.3676, 8.2718, 2.1362)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B231F #1F979B
analogous
#9B1F59 #9B231F #9B611F
triadic
#9B231F #1F9B23 #231F9B
tetradic
#9B231F #599B1F #1F979B #611F9B
square
#9B231F #599B1F #1F979B #611F9B
split-complementary
#9B231F #1F9B61 #1F599B
monochromatic
#350C0B #681715 #9B231F #CE2F29 #DD5B57

Accessibility & contrast

On white

7.91
#9B231F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B231F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B231F#FFFFFF#000000##FFFFFF
##9B231F1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48411D
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#AB0024
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b231f;
/* rgb */ color: rgb(155, 35, 31);
/* oklch */ color: oklch(45.4% 0.157 27.5);
Tailwind
colors: {
  custom: {
    50: '#c1695b',
    500: '#9b231f',
    950: '#000000',
  },
}
SCSS
$custom: #9b231f;
$custom-light: #c1695b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b231f",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 1.935,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45441,
    "c": 0.15681,
    "h": 27.5
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#9B231F
secondary
#55BEC1
accent
#E4EA3E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9B231F

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

Preview Lab → · Contrast checker → · Palette generator →

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