#9E2128#9E2128

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

Color values

HEX#9E2128
RGBrgb(158, 33, 40)
HSLhsl(357, 65%, 37%)
HSVhsv(357, 79%, 62%)
CMYKcmyk(0%, 79.1%, 74.7%, 38%)
CIE-LABlab(35.03, 50.43, 28.54)
CIE-LCHlch(35.03, 57.94, 29.50°)
OKLaboklab(45.95% 0.1468 0.0645)
OKLCHoklch(45.95% 0.16 23.7)
XYZxyz(15.0292, 8.5124, 2.8588)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2128 #219E97
analogous
#9E2167 #9E2128 #9E5921
triadic
#9E2128 #289E21 #21289E
tetradic
#9E2128 #679E21 #219E97 #59219E
square
#9E2128 #679E21 #219E97 #59219E
split-complementary
#9E2128 #219E59 #21679E
monochromatic
#390C0E #6B161B #9E2128 #D12C35 #DD5C64

Accessibility & contrast

On white

7.77
#9E2128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2128
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2128#FFFFFF#000000##FFFFFF
##9E21281.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474127
Deuteranopia (green-blind)
#665C23
Tritanopia (blue-blind)
#AE0025
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e2128;
/* rgb */ color: rgb(158, 33, 40);
/* oklch */ color: oklch(45.9% 0.160 23.7);
Tailwind
colors: {
  custom: {
    50: '#c36862',
    500: '#9e2128',
    950: '#000000',
  },
}
SCSS
$custom: #9e2128;
$custom-light: #c36862;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2128",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 356.64,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45945,
    "c": 0.16036,
    "h": 23.7
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#9E2128
secondary
#59C1BC
accent
#E8DF3F
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9E2128

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

Preview Lab → · Contrast checker → · Palette generator →

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