#9D331E#9D331E

#9D331E is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.5% C 0.145 H 33.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9D331E
RGBrgb(157, 51, 30)
HSLhsl(10, 68%, 37%)
HSVhsv(10, 81%, 62%)
CMYKcmyk(0%, 67.5%, 80.9%, 38.4%)
CIE-LABlab(37.17, 42.94, 36.55)
CIE-LCHlch(37.17, 56.39, 40.40°)
OKLaboklab(47.48% 0.1213 0.0792)
OKLCHoklch(47.48% 0.145 33.1)
XYZxyz(15.3245, 9.6318, 2.2802)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D331E #1E889D
analogous
#9D1E49 #9D331E #9D731E
triadic
#9D331E #1E9D33 #331E9D
tetradic
#9D331E #499D1E #1E889D #731E9D
square
#9D331E #499D1E #1E889D #731E9D
split-complementary
#9D331E #1E9D73 #1E499D
monochromatic
#36120A #6A2214 #9D331E #D04428 #DF6D57

Accessibility & contrast

On white

7.18
#9D331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D331E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D331E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D331E#FFFFFF#000000##FFFFFF
##9D331E1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491B
Deuteranopia (green-blind)
#6C6019
Tritanopia (blue-blind)
#AD132F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d331e;
/* rgb */ color: rgb(157, 51, 30);
/* oklch */ color: oklch(47.5% 0.145 33.1);
Tailwind
colors: {
  custom: {
    50: '#c2705b',
    500: '#9d331e',
    950: '#000000',
  },
}
SCSS
$custom: #9d331e;
$custom-light: #c2705b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d331e",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 9.921,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47476,
    "c": 0.1449,
    "h": 33.1
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#9D331E
secondary
#54B0C2
accent
#CEEB3D
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9D331E

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

Preview Lab → · Contrast checker → · Palette generator →

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