#9E2127#9E2127

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

Color values

HEX#9E2127
RGBrgb(158, 33, 39)
HSLhsl(357, 65%, 37%)
HSVhsv(357, 79%, 62%)
CMYKcmyk(0%, 79.1%, 75.3%, 38%)
CIE-LABlab(35.01, 50.39, 29.13)
CIE-LCHlch(35.01, 58.20, 30.04°)
OKLaboklab(45.93% 0.1465 0.0656)
OKLCHoklch(45.93% 0.16 24.1)
XYZxyz(15.0124, 8.5057, 2.7704)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2127 #219E98
analogous
#9E2166 #9E2127 #9E5A21
triadic
#9E2127 #279E21 #21279E
tetradic
#9E2127 #669E21 #219E98 #5A219E
square
#9E2127 #669E21 #219E98 #5A219E
split-complementary
#9E2127 #219E5A #21669E
monochromatic
#390C0E #6B161B #9E2127 #D12C33 #DD5C63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2127#FFFFFF#000000##FFFFFF
##9E21271.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)
#484126
Deuteranopia (green-blind)
#665C22
Tritanopia (blue-blind)
#AE0025
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e2127;
/* rgb */ color: rgb(158, 33, 39);
/* oklch */ color: oklch(45.9% 0.160 24.1);
Tailwind
colors: {
  custom: {
    50: '#c36861',
    500: '#9e2127',
    950: '#000000',
  },
}
SCSS
$custom: #9e2127;
$custom-light: #c36861;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2127",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 357.12,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.16047,
    "h": 24.1
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#9E2127
secondary
#59C1BC
accent
#E8E03F
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9E2127

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

Preview Lab → · Contrast checker → · Palette generator →

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