#9E2126#9E2126

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

Color values

HEX#9E2126
RGBrgb(158, 33, 38)
HSLhsl(358, 65%, 37%)
HSVhsv(358, 79%, 62%)
CMYKcmyk(0%, 79.1%, 75.9%, 38%)
CIE-LABlab(35.00, 50.34, 29.73)
CIE-LCHlch(35.00, 58.46, 30.56°)
OKLaboklab(45.92% 0.1461 0.0666)
OKLCHoklch(45.92% 0.161 24.5)
XYZxyz(14.9960, 8.4991, 2.6842)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2126 #219E99
analogous
#9E2165 #9E2126 #9E5B21
triadic
#9E2126 #269E21 #21269E
tetradic
#9E2126 #659E21 #219E99 #5B219E
square
#9E2126 #659E21 #219E99 #5B219E
split-complementary
#9E2126 #219E5B #21659E
monochromatic
#390C0E #6B161A #9E2126 #D12C32 #DD5C62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2126#FFFFFF#000000##FFFFFF
##9E21261.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)
#484125
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#AE0024
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e2126;
/* rgb */ color: rgb(158, 33, 38);
/* oklch */ color: oklch(45.9% 0.161 24.5);
Tailwind
colors: {
  custom: {
    50: '#c36860',
    500: '#9e2126',
    950: '#000000',
  },
}
SCSS
$custom: #9e2126;
$custom-light: #c36860;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2126",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 38
  },
  "hsl": {
    "h": 357.6,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45916,
    "c": 0.16057,
    "h": 24.5
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2126

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

Preview Lab → · Contrast checker → · Palette generator →

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