#9E312A#9E312A

#9E312A is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.6% C 0.146 H 27.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9E312A
RGBrgb(158, 49, 42)
HSLhsl(4, 58%, 39%)
HSVhsv(4, 73%, 62%)
CMYKcmyk(0%, 69%, 73.4%, 38%)
CIE-LABlab(37.18, 44.64, 29.79)
CIE-LCHlch(37.18, 53.67, 33.72°)
OKLaboklab(47.56% 0.129 0.0677)
OKLCHoklch(47.56% 0.146 27.7)
XYZxyz(15.6185, 9.6352, 3.2274)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E312A #2A979E
analogous
#9E2A5D #9E312A #9E6B2A
triadic
#9E312A #2A9E31 #312A9E
tetradic
#9E312A #5D9E2A #2A979E #6B2A9E
square
#9E312A #5D9E2A #2A979E #6B2A9E
split-complementary
#9E312A #2A9E6B #2A5D9E
monochromatic
#3D1310 #6E221D #9E312A #CB433A #D8716B

Accessibility & contrast

On white

7.18
#9E312A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9E312A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E312A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E312A#FFFFFF#000000##FFFFFF
##9E312A1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504828
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#AE1030
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e312a;
/* rgb */ color: rgb(158, 49, 42);
/* oklch */ color: oklch(47.6% 0.146 27.7);
Tailwind
colors: {
  custom: {
    50: '#c27064',
    500: '#9e312a',
    950: '#000000',
  },
}
SCSS
$custom: #9e312a;
$custom-light: #c27064;
$custom-dark: #000000;
JSON
{
  "hex": "#9e312a",
  "rgb": {
    "r": 158,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 3.621,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47558,
    "c": 0.14566,
    "h": 27.7
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

primary
#9E312A
secondary
#66B9BE
accent
#D8E147
background
#FCF7F6
surface
#F9EDEB
border
#D2C8C6
text
#140805
muted
#827B7A

Preview Lab

Preview with #9E312A

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

Preview Lab → · Contrast checker → · Palette generator →

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