#9D2418#9D2418

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

Color values

HEX#9D2418
RGBrgb(157, 36, 24)
HSLhsl(5, 73%, 35%)
HSVhsv(5, 85%, 62%)
CMYKcmyk(0%, 77.1%, 84.7%, 38.4%)
CIE-LABlab(35.00, 48.58, 37.65)
CIE-LCHlch(35.00, 61.46, 37.78°)
OKLaboklab(45.83% 0.1377 0.0794)
OKLCHoklch(45.83% 0.159 30)
XYZxyz(14.7022, 8.4981, 1.7302)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2418 #18919D
analogous
#9D184E #9D2418 #9D6718
triadic
#9D2418 #189D24 #24189D
tetradic
#9D2418 #4E9D18 #18919D #67189D
square
#9D2418 #4E9D18 #18919D #67189D
split-complementary
#9D2418 #189D67 #184E9D
monochromatic
#330C08 #681810 #9D2418 #D23020 #E4594C

Accessibility & contrast

On white

7.78
#9D2418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9D2418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2418
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2418#FFFFFF#000000##FFFFFF
##9D24181.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4115
Deuteranopia (green-blind)
#675C11
Tritanopia (blue-blind)
#AD0023
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2418;
/* rgb */ color: rgb(157, 36, 24);
/* oklch */ color: oklch(45.8% 0.159 30.0);
Tailwind
colors: {
  custom: {
    50: '#c36957',
    500: '#9d2418',
    950: '#000000',
  },
}
SCSS
$custom: #9d2418;
$custom-light: #c36957;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2418",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 24
  },
  "hsl": {
    "h": 5.414,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.159,
    "h": 30
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#9D2418
secondary
#4BBAC5
accent
#E0F038
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D2418

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

Preview Lab → · Contrast checker → · Palette generator →

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