#9D231A#9D231A

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

Color values

HEX#9D231A
RGBrgb(157, 35, 26)
HSLhsl(4, 72%, 36%)
HSVhsv(4, 83%, 62%)
CMYKcmyk(0%, 77.7%, 83.4%, 38.4%)
CIE-LABlab(34.90, 48.97, 36.49)
CIE-LCHlch(34.90, 61.07, 36.69°)
OKLaboklab(45.76% 0.1393 0.0777)
OKLCHoklch(45.76% 0.16 29.1)
XYZxyz(14.6939, 8.4471, 1.8338)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D231A #1A949D
analogous
#9D1A52 #9D231A #9D641A
triadic
#9D231A #1A9D23 #231A9D
tetradic
#9D231A #529D1A #1A949D #641A9D
square
#9D231A #529D1A #1A949D #641A9D
split-complementary
#9D231A #1A9D64 #1A529D
monochromatic
#340C09 #681711 #9D231A #D22F23 #E25A4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D231A#FFFFFF#000000##FFFFFF
##9D231A1.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)
#494117
Deuteranopia (green-blind)
#675C13
Tritanopia (blue-blind)
#AD0022
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d231a;
/* rgb */ color: rgb(157, 35, 26);
/* oklch */ color: oklch(45.8% 0.160 29.1);
Tailwind
colors: {
  custom: {
    50: '#c36958',
    500: '#9d231a',
    950: '#000000',
  },
}
SCSS
$custom: #9d231a;
$custom-light: #c36958;
$custom-dark: #000000;
JSON
{
  "hex": "#9d231a",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 4.122,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45761,
    "c": 0.15951,
    "h": 29.1
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#9D231A
secondary
#4EBCC4
accent
#E2EE39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D231A

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

Preview Lab → · Contrast checker → · Palette generator →

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