#9E2727#9E2727

#9E2727 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.5% C 0.155 H 25.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9E2727
RGBrgb(158, 39, 39)
HSLhsl(0, 60%, 39%)
HSVhsv(0, 75%, 62%)
CMYKcmyk(0%, 75.3%, 75.3%, 38%)
CIE-LABlab(35.73, 48.38, 29.94)
CIE-LCHlch(35.73, 56.90, 31.75°)
OKLaboklab(46.46% 0.1401 0.0673)
OKLCHoklch(46.46% 0.155 25.7)
XYZxyz(15.1940, 8.8690, 2.8309)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2727 #279E9E
analogous
#9E2762 #9E2727 #9E6227
triadic
#9E2727 #279E27 #27279E
tetradic
#9E2727 #629E27 #279E9E #62279E
square
#9E2727 #629E27 #279E9E #62279E
split-complementary
#9E2727 #279E62 #27629E
monochromatic
#3C0F0F #6D1B1B #9E2727 #CD3535 #D96666

Accessibility & contrast

On white

7.57
#9E2727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9E2727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2727
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2727#FFFFFF#000000##FFFFFF
##9E27271.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4426
Deuteranopia (green-blind)
#685D23
Tritanopia (blue-blind)
#AE0029
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e2727;
/* rgb */ color: rgb(158, 39, 39);
/* oklch */ color: oklch(46.5% 0.155 25.7);
Tailwind
colors: {
  custom: {
    50: '#c36b61',
    500: '#9e2727',
    950: '#000000',
  },
}
SCSS
$custom: #9e2727;
$custom-light: #c36b61;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2727",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 39
  },
  "hsl": {
    "h": 0,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46463,
    "c": 0.15546,
    "h": 25.7
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#9E2727
secondary
#62BFBF
accent
#E4E444
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9E2727

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

Preview Lab → · Contrast checker → · Palette generator →

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