#9E1938#9E1938

#9E1938 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.166 H 15.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9E1938
RGBrgb(158, 25, 56)
HSLhsl(346, 73%, 36%)
HSVhsv(346, 84%, 62%)
CMYKcmyk(0%, 84.2%, 64.6%, 38%)
CIE-LABlab(34.50, 53.50, 17.75)
CIE-LCHlch(34.50, 56.36, 18.35°)
OKLaboklab(45.64% 0.1603 0.0429)
OKLCHoklch(45.64% 0.166 15)
XYZxyz(15.1636, 8.2522, 4.5350)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1938 #199E7F
analogous
#9E197A #9E1938 #9E3C19
triadic
#9E1938 #389E19 #19389E
tetradic
#9E1938 #7A9E19 #199E7F #3C199E
square
#9E1938 #7A9E19 #199E7F #3C199E
split-complementary
#9E1938 #199E3C #197A9E
monochromatic
#340813 #691125 #9E1938 #D3214B #E34E71

Accessibility & contrast

On white

7.92
#9E1938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9E1938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1938
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1938#FFFFFF#000000##FFFFFF
##9E19381.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424038
Deuteranopia (green-blind)
#635B34
Tritanopia (blue-blind)
#AE0027
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1938;
/* rgb */ color: rgb(158, 25, 56);
/* oklch */ color: oklch(45.6% 0.166 15.0);
Tailwind
colors: {
  custom: {
    50: '#c2666e',
    500: '#9e1938',
    950: '#000000',
  },
}
SCSS
$custom: #9e1938;
$custom-light: #c2666e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1938",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 346.015,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45642,
    "c": 0.16591,
    "h": 15
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#9E1938
secondary
#4EC5A9
accent
#EFC538
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E1938

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

Preview Lab → · Contrast checker → · Palette generator →

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