#9D231C#9D231C

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

Color values

HEX#9D231C
RGBrgb(157, 35, 28)
HSLhsl(3, 70%, 36%)
HSVhsv(3, 82%, 62%)
CMYKcmyk(0%, 77.7%, 82.2%, 38.4%)
CIE-LABlab(34.92, 49.03, 35.41)
CIE-LCHlch(34.92, 60.48, 35.84°)
OKLaboklab(45.78% 0.1399 0.076)
OKLCHoklch(45.78% 0.159 28.5)
XYZxyz(14.7170, 8.4564, 1.9557)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D231C #1C969D
analogous
#9D1C56 #9D231C #9D641C
triadic
#9D231C #1C9D23 #231C9D
tetradic
#9D231C #569D1C #1C969D #641C9D
square
#9D231C #569D1C #1C969D #641C9D
split-complementary
#9D231C #1C9D64 #1C569D
monochromatic
#350C09 #691713 #9D231C #D12F25 #E05B53

Accessibility & contrast

On white

7.80
#9D231C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D231C
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D231C#FFFFFF#000000##FFFFFF
##9D231C1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411A
Deuteranopia (green-blind)
#675C16
Tritanopia (blue-blind)
#AD0023
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d231c;
/* rgb */ color: rgb(157, 35, 28);
/* oklch */ color: oklch(45.8% 0.159 28.5);
Tailwind
colors: {
  custom: {
    50: '#c36959',
    500: '#9d231c',
    950: '#000000',
  },
}
SCSS
$custom: #9d231c;
$custom-light: #c36959;
$custom-dark: #000000;
JSON
{
  "hex": "#9d231c",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 3.256,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45781,
    "c": 0.15924,
    "h": 28.5
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#9D231C
secondary
#51BDC3
accent
#E3ED3B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D231C

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

Preview Lab → · Contrast checker → · Palette generator →

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