#9B231D#9B231D

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

Color values

HEX#9B231D
RGBrgb(155, 35, 29)
HSLhsl(3, 68%, 36%)
HSVhsv(3, 81%, 61%)
CMYKcmyk(0%, 77.4%, 81.3%, 39.2%)
CIE-LABlab(34.52, 48.43, 34.32)
CIE-LCHlch(34.52, 59.36, 35.33°)
OKLaboklab(45.42% 0.1385 0.0742)
OKLCHoklch(45.42% 0.157 28.2)
XYZxyz(14.3421, 8.2616, 2.0016)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B231D #1D959B
analogous
#9B1D56 #9B231D #9B621D
triadic
#9B231D #1D9B23 #231D9B
tetradic
#9B231D #569B1D #1D959B #621D9B
square
#9B231D #569B1D #1D959B #621D9B
split-complementary
#9B231D #1D9B62 #1D569B
monochromatic
#340C0A #671713 #9B231D #CF2F27 #DF5A53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B231D#FFFFFF#000000##FFFFFF
##9B231D1.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)
#48401B
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#AB0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b231d;
/* rgb */ color: rgb(155, 35, 29);
/* oklch */ color: oklch(45.4% 0.157 28.2);
Tailwind
colors: {
  custom: {
    50: '#c1695a',
    500: '#9b231d',
    950: '#000000',
  },
}
SCSS
$custom: #9b231d;
$custom-light: #c1695a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b231d",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 29
  },
  "hsl": {
    "h": 2.857,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45419,
    "c": 0.15709,
    "h": 28.2
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#9B231D
secondary
#52BDC2
accent
#E3EB3C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9B231D

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

Preview Lab → · Contrast checker → · Palette generator →

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