#9B231E#9B231E

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

Color values

HEX#9B231E
RGBrgb(155, 35, 30)
HSLhsl(2, 68%, 36%)
HSVhsv(2, 81%, 61%)
CMYKcmyk(0%, 77.4%, 80.6%, 39.2%)
CIE-LABlab(34.53, 48.46, 33.76)
CIE-LCHlch(34.53, 59.06, 34.87°)
OKLaboklab(45.43% 0.1388 0.0733)
OKLCHoklch(45.43% 0.157 27.8)
XYZxyz(14.3547, 8.2666, 2.0678)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B231E #1E969B
analogous
#9B1E58 #9B231E #9B621E
triadic
#9B231E #1E9B23 #231E9B
tetradic
#9B231E #589B1E #1E969B #621E9B
square
#9B231E #589B1E #1E969B #621E9B
split-complementary
#9B231E #1E9B62 #1E589B
monochromatic
#340C0A #681714 #9B231E #CE2F28 #DE5B55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B231E#FFFFFF#000000##FFFFFF
##9B231E1.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)
#48401C
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#AB0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b231e;
/* rgb */ color: rgb(155, 35, 30);
/* oklch */ color: oklch(45.4% 0.157 27.8);
Tailwind
colors: {
  custom: {
    50: '#c1695b',
    500: '#9b231e',
    950: '#000000',
  },
}
SCSS
$custom: #9b231e;
$custom-light: #c1695b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b231e",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 2.4,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45429,
    "c": 0.15695,
    "h": 27.8
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#9B231E
secondary
#53BDC2
accent
#E4EA3D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9B231E

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

Preview Lab → · Contrast checker → · Palette generator →

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