#9E1638#9E1638

#9E1638 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.5% C 0.168 H 14.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#9E1638
RGBrgb(158, 22, 56)
HSLhsl(345, 76%, 35%)
HSVhsv(345, 86%, 62%)
CMYKcmyk(0%, 86.1%, 64.6%, 38%)
CIE-LABlab(34.25, 54.21, 17.42)
CIE-LCHlch(34.25, 56.94, 17.82°)
OKLaboklab(45.46% 0.1626 0.0421)
OKLCHoklch(45.46% 0.168 14.5)
XYZxyz(15.1029, 8.1308, 4.5148)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1638 #169E7C
analogous
#9E167C #9E1638 #9E3816
triadic
#9E1638 #389E16 #16389E
tetradic
#9E1638 #7C9E16 #169E7C #38169E
square
#9E1638 #7C9E16 #169E7C #38169E
split-complementary
#9E1638 #169E38 #167C9E
monochromatic
#330712 #680F25 #9E1638 #D41D4B #E64970

Accessibility & contrast

On white

8.00
#9E1638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9E1638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1638
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1638#FFFFFF#000000##FFFFFF
##9E16381.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413F38
Deuteranopia (green-blind)
#635A34
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1638;
/* rgb */ color: rgb(158, 22, 56);
/* oklch */ color: oklch(45.5% 0.168 14.5);
Tailwind
colors: {
  custom: {
    50: '#c2656e',
    500: '#9e1638',
    950: '#000000',
  },
}
SCSS
$custom: #9e1638;
$custom-light: #c2656e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1638",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 345,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45458,
    "c": 0.16793,
    "h": 14.5
  },
  "luminance": 0.08128
}

Semantic roles & 50–950 ramp

primary
#9E1638
secondary
#49C7A7
accent
#F2C336
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140607
muted
#827A7A

Preview Lab

Preview with #9E1638

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

Preview Lab → · Contrast checker → · Palette generator →

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