#9E2731#9E2731

#9E2731 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.6% C 0.154 H 21.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9E2731
RGBrgb(158, 39, 49)
HSLhsl(355, 60%, 39%)
HSVhsv(355, 75%, 62%)
CMYKcmyk(0%, 75.3%, 69%, 38%)
CIE-LABlab(35.88, 48.87, 23.96)
CIE-LCHlch(35.88, 54.43, 26.12°)
OKLaboklab(46.62% 0.1439 0.0561)
OKLCHoklch(46.62% 0.154 21.3)
XYZxyz(15.3821, 8.9442, 3.8216)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2731 #279E94
analogous
#9E276C #9E2731 #9E5827
triadic
#9E2731 #319E27 #27319E
tetradic
#9E2731 #6C9E27 #279E94 #58279E
square
#9E2731 #6C9E27 #279E94 #58279E
split-complementary
#9E2731 #279E58 #276C9E
monochromatic
#3C0F13 #6D1B22 #9E2731 #CD3542 #D96670

Accessibility & contrast

On white

7.53
#9E2731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9E2731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2731
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2731#FFFFFF#000000##FFFFFF
##9E27311.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494430
Deuteranopia (green-blind)
#675E2D
Tritanopia (blue-blind)
#AE002C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e2731;
/* rgb */ color: rgb(158, 39, 49);
/* oklch */ color: oklch(46.6% 0.154 21.3);
Tailwind
colors: {
  custom: {
    50: '#c26b69',
    500: '#9e2731',
    950: '#000000',
  },
}
SCSS
$custom: #9e2731;
$custom-light: #c26b69;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2731",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 354.958,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46618,
    "c": 0.15445,
    "h": 21.3
  },
  "luminance": 0.08942
}

Semantic roles & 50–950 ramp

primary
#9E2731
secondary
#62BFB7
accent
#E4D644
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9E2731

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

Preview Lab → · Contrast checker → · Palette generator →

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