#9D2126#9D2126

#9D2126 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.160 H 24.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9D2126
RGBrgb(157, 33, 38)
HSLhsl(358, 65%, 37%)
HSVhsv(358, 79%, 62%)
CMYKcmyk(0%, 79%, 75.8%, 38.4%)
CIE-LABlab(34.80, 50.04, 29.44)
CIE-LCHlch(34.80, 58.06, 30.47°)
OKLaboklab(45.73% 0.1453 0.0661)
OKLCHoklch(45.73% 0.16 24.4)
XYZxyz(14.8001, 8.3981, 2.6751)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2126 #219D98
analogous
#9D2164 #9D2126 #9D5A21
triadic
#9D2126 #269D21 #21269D
tetradic
#9D2126 #649D21 #219D98 #5A219D
square
#9D2126 #649D21 #219D98 #5A219D
split-complementary
#9D2126 #219D5A #21649D
monochromatic
#380C0E #6A161A #9D2126 #D02C32 #DD5C61

Accessibility & contrast

On white

7.84
#9D2126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9D2126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2126
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2126#FFFFFF#000000##FFFFFF
##9D21261.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474125
Deuteranopia (green-blind)
#665B21
Tritanopia (blue-blind)
#AD0024
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2126;
/* rgb */ color: rgb(157, 33, 38);
/* oklch */ color: oklch(45.7% 0.160 24.4);
Tailwind
colors: {
  custom: {
    50: '#c26860',
    500: '#9d2126',
    950: '#000000',
  },
}
SCSS
$custom: #9d2126;
$custom-light: #c26860;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2126",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 38
  },
  "hsl": {
    "h": 357.581,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4573,
    "c": 0.15958,
    "h": 24.4
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#9D2126
secondary
#59C1BD
accent
#E8E140
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9D2126

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

Preview Lab → · Contrast checker → · Palette generator →

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