#9E1828#9E1828

#9E1828 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.3% C 0.167 H 21.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#9E1828
RGBrgb(158, 24, 40)
HSLhsl(353, 74%, 36%)
HSVhsv(353, 85%, 62%)
CMYKcmyk(0%, 84.8%, 74.7%, 38%)
CIE-LABlab(34.14, 52.93, 27.52)
CIE-LCHlch(34.14, 59.65, 27.47°)
OKLaboklab(45.29% 0.1548 0.0623)
OKLCHoklch(45.29% 0.167 21.9)
XYZxyz(14.8120, 8.0780, 2.7864)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1828 #189E8E
analogous
#9E186B #9E1828 #9E4B18
triadic
#9E1828 #289E18 #18289E
tetradic
#9E1828 #6B9E18 #189E8E #4B189E
square
#9E1828 #6B9E18 #189E8E #4B189E
split-complementary
#9E1828 #189E4B #186B9E
monochromatic
#34080D #69101B #9E1828 #D32035 #E44D5F

Accessibility & contrast

On white

8.03
#9E1828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#9E1828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1828
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1828#FFFFFF#000000##FFFFFF
##9E18281.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E27
Deuteranopia (green-blind)
#645A23
Tritanopia (blue-blind)
#AE0020
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9e1828;
/* rgb */ color: rgb(158, 24, 40);
/* oklch */ color: oklch(45.3% 0.167 21.9);
Tailwind
colors: {
  custom: {
    50: '#c36562',
    500: '#9e1828',
    950: '#000000',
  },
}
SCSS
$custom: #9e1828;
$custom-light: #c36562;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1828",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 352.836,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4529,
    "c": 0.16684,
    "h": 21.9
  },
  "luminance": 0.08076
}

Semantic roles & 50–950 ramp

primary
#9E1828
secondary
#4CC6B7
accent
#F0DA38
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140605
muted
#837A79

Preview Lab

Preview with #9E1828

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

Preview Lab → · Contrast checker → · Palette generator →

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