#9D2918#9D2918

#9D2918 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.3% C 0.155 H 31.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9D2918
RGBrgb(157, 41, 24)
HSLhsl(8, 73%, 35%)
HSVhsv(8, 85%, 62%)
CMYKcmyk(0%, 73.9%, 84.7%, 38.4%)
CIE-LABlab(35.64, 46.80, 38.23)
CIE-LCHlch(35.64, 60.43, 39.25°)
OKLaboklab(46.31% 0.1322 0.0808)
OKLCHoklch(46.31% 0.155 31.4)
XYZxyz(14.8642, 8.8223, 1.7842)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2918 #188C9D
analogous
#9D1849 #9D2918 #9D6B18
triadic
#9D2918 #189D29 #29189D
tetradic
#9D2918 #499D18 #188C9D #6B189D
square
#9D2918 #499D18 #188C9D #6B189D
split-complementary
#9D2918 #189D6B #18499D
monochromatic
#330D08 #681B10 #9D2918 #D23720 #E45F4C

Accessibility & contrast

On white

7.60
#9D2918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9D2918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2918
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2918#FFFFFF#000000##FFFFFF
##9D29181.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4314
Deuteranopia (green-blind)
#695D11
Tritanopia (blue-blind)
#AD0026
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2918;
/* rgb */ color: rgb(157, 41, 24);
/* oklch */ color: oklch(46.3% 0.155 31.4);
Tailwind
colors: {
  custom: {
    50: '#c36b57',
    500: '#9d2918',
    950: '#000000',
  },
}
SCSS
$custom: #9d2918;
$custom-light: #c36b57;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2918",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 24
  },
  "hsl": {
    "h": 7.669,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4631,
    "c": 0.1549,
    "h": 31.4
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#9D2918
secondary
#4BB6C5
accent
#D9F038
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D2918

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

Preview Lab → · Contrast checker → · Palette generator →

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