#9D2226#9D2226

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

Color values

HEX#9D2226
RGBrgb(157, 34, 38)
HSLhsl(358, 64%, 37%)
HSVhsv(358, 78%, 62%)
CMYKcmyk(0%, 78.3%, 75.8%, 38.4%)
CIE-LABlab(34.91, 49.72, 29.57)
CIE-LCHlch(34.91, 57.85, 30.74°)
OKLaboklab(45.81% 0.1443 0.0663)
OKLCHoklch(45.81% 0.159 24.7)
XYZxyz(14.8282, 8.4544, 2.6844)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2226 #229D99
analogous
#9D2263 #9D2226 #9D5C22
triadic
#9D2226 #269D22 #22269D
tetradic
#9D2226 #639D22 #229D99 #5C229D
square
#9D2226 #639D22 #229D99 #5C229D
split-complementary
#9D2226 #229D5C #22639D
monochromatic
#380C0E #6B171A #9D2226 #CF2D32 #DC5D62

Accessibility & contrast

On white

7.81
#9D2226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D2226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2226
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2226#FFFFFF#000000##FFFFFF
##9D22261.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484125
Deuteranopia (green-blind)
#665C21
Tritanopia (blue-blind)
#AD0025
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2226;
/* rgb */ color: rgb(157, 34, 38);
/* oklch */ color: oklch(45.8% 0.159 24.7);
Tailwind
colors: {
  custom: {
    50: '#c26960',
    500: '#9d2226',
    950: '#000000',
  },
}
SCSS
$custom: #9d2226;
$custom-light: #c26960;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2226",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 358.049,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45814,
    "c": 0.15878,
    "h": 24.7
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#9D2226
secondary
#5AC1BD
accent
#E7E240
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9D2226

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

Preview Lab → · Contrast checker → · Palette generator →

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