#9D2822#9D2822

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

Color values

HEX#9D2822
RGBrgb(157, 40, 34)
HSLhsl(3, 64%, 37%)
HSVhsv(3, 78%, 62%)
CMYKcmyk(0%, 74.5%, 78.3%, 38.4%)
CIE-LABlab(35.60, 47.50, 32.70)
CIE-LCHlch(35.60, 57.67, 34.55°)
OKLaboklab(46.31% 0.1364 0.0721)
OKLCHoklch(46.31% 0.154 27.9)
XYZxyz(14.9539, 8.8035, 2.4249)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2822 #22979D
analogous
#9D2259 #9D2822 #9D6622
triadic
#9D2822 #229D28 #28229D
tetradic
#9D2822 #599D22 #22979D #66229D
square
#9D2822 #599D22 #22979D #66229D
split-complementary
#9D2822 #229D66 #22599D
monochromatic
#380E0C #6B1B17 #9D2822 #CF352D #DC645D

Accessibility & contrast

On white

7.61
#9D2822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2822
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2822#FFFFFF#000000##FFFFFF
##9D28221.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4320
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#AD0028
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2822;
/* rgb */ color: rgb(157, 40, 34);
/* oklch */ color: oklch(46.3% 0.154 27.9);
Tailwind
colors: {
  custom: {
    50: '#c26b5e',
    500: '#9d2822',
    950: '#000000',
  },
}
SCSS
$custom: #9d2822;
$custom-light: #c26b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2822",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 2.927,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46313,
    "c": 0.15424,
    "h": 27.9
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#9D2822
secondary
#5ABCC1
accent
#DFE740
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D2822

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

Preview Lab → · Contrast checker → · Palette generator →

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