#9D3A1B#9D3A1B

#9D3A1B is a mid, vivid red. Relative luminance 0.103; OKLCH L 48.3% C 0.139 H 37.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9D3A1B
RGBrgb(157, 58, 27)
HSLhsl(14, 71%, 36%)
HSVhsv(14, 83%, 62%)
CMYKcmyk(0%, 63.1%, 82.8%, 38.4%)
CIE-LABlab(38.33, 39.67, 39.22)
CIE-LCHlch(38.33, 55.78, 44.68°)
OKLaboklab(48.34% 0.1107 0.0841)
OKLCHoklch(48.34% 0.139 37.2)
XYZxyz(15.6172, 10.2756, 2.1977)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3A1B #1B7E9D
analogous
#9D1B3D #9D3A1B #9D7B1B
triadic
#9D3A1B #1B9D3A #3A1B9D
tetradic
#9D3A1B #3D9D1B #1B7E9D #7B1B9D
square
#9D3A1B #3D9D1B #1B7E9D #7B1B9D
split-complementary
#9D3A1B #1B9D7B #1B3D9D
monochromatic
#351309 #692712 #9D3A1B #D14D24 #E17451

Accessibility & contrast

On white

6.87
#9D3A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9D3A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3A1B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3A1B#FFFFFF#000000##FFFFFF
##9D3A1B1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C16
Deuteranopia (green-blind)
#6F6217
Tritanopia (blue-blind)
#AD2034
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d3a1b;
/* rgb */ color: rgb(157, 58, 27);
/* oklch */ color: oklch(48.3% 0.139 37.2);
Tailwind
colors: {
  custom: {
    50: '#c2745a',
    500: '#9d3a1b',
    950: '#000000',
  },
}
SCSS
$custom: #9d3a1b;
$custom-light: #c2745a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3a1b",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 27
  },
  "hsl": {
    "h": 14.308,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4834,
    "c": 0.13898,
    "h": 37.2
  },
  "luminance": 0.10273
}

Semantic roles & 50–950 ramp

primary
#9D3A1B
secondary
#50A8C4
accent
#C3ED3A
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9D3A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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