#9D231B#9D231B

#9D231B is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.159 H 28.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9D231B
RGBrgb(157, 35, 27)
HSLhsl(4, 71%, 36%)
HSVhsv(4, 83%, 62%)
CMYKcmyk(0%, 77.7%, 82.8%, 38.4%)
CIE-LABlab(34.91, 49.00, 35.95)
CIE-LCHlch(34.91, 60.77, 36.27°)
OKLaboklab(45.77% 0.1396 0.0768)
OKLCHoklch(45.77% 0.159 28.8)
XYZxyz(14.7053, 8.4516, 1.8937)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D231B #1B959D
analogous
#9D1B54 #9D231B #9D641B
triadic
#9D231B #1B9D23 #231B9D
tetradic
#9D231B #549D1B #1B959D #641B9D
square
#9D231B #549D1B #1B959D #641B9D
split-complementary
#9D231B #1B9D64 #1B549D
monochromatic
#350C09 #691712 #9D231B #D12F24 #E15A51

Accessibility & contrast

On white

7.81
#9D231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D231B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D231B
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D231B#FFFFFF#000000##FFFFFF
##9D231B1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494118
Deuteranopia (green-blind)
#675C15
Tritanopia (blue-blind)
#AD0023
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d231b;
/* rgb */ color: rgb(157, 35, 27);
/* oklch */ color: oklch(45.8% 0.159 28.8);
Tailwind
colors: {
  custom: {
    50: '#c36959',
    500: '#9d231b',
    950: '#000000',
  },
}
SCSS
$custom: #9d231b;
$custom-light: #c36959;
$custom-dark: #000000;
JSON
{
  "hex": "#9d231b",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 3.692,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45771,
    "c": 0.15937,
    "h": 28.8
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#9D231B
secondary
#50BDC4
accent
#E2ED3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D231B

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

Preview Lab → · Contrast checker → · Palette generator →

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