#9E312D#9E312D

#9E312D is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.6% C 0.145 H 26.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9E312D
RGBrgb(158, 49, 45)
HSLhsl(2, 56%, 40%)
HSVhsv(2, 72%, 62%)
CMYKcmyk(0%, 69%, 71.5%, 38%)
CIE-LABlab(37.22, 44.79, 28.04)
CIE-LCHlch(37.22, 52.85, 32.05°)
OKLaboklab(47.6% 0.1301 0.0644)
OKLCHoklch(47.6% 0.145 26.3)
XYZxyz(15.6742, 9.6575, 3.5208)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E312D #2D9A9E
analogous
#9E2D61 #9E312D #9E6A2D
triadic
#9E312D #2D9E31 #312D9E
tetradic
#9E312D #619E2D #2D9A9E #6A2D9E
square
#9E312D #619E2D #2D9A9E #6A2D9E
split-complementary
#9E312D #2D9E6A #2D619E
monochromatic
#3F1312 #6E221F #9E312D #C94540 #D6736F

Accessibility & contrast

On white

7.16
#9E312D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E312D
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E312D#FFFFFF#000000##FFFFFF
##9E312D1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492C
Deuteranopia (green-blind)
#6B602A
Tritanopia (blue-blind)
#AE1131
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e312d;
/* rgb */ color: rgb(158, 49, 45);
/* oklch */ color: oklch(47.6% 0.145 26.3);
Tailwind
colors: {
  custom: {
    50: '#c27066',
    500: '#9e312d',
    950: '#000000',
  },
}
SCSS
$custom: #9e312d;
$custom-light: #c27066;
$custom-dark: #000000;
JSON
{
  "hex": "#9e312d",
  "rgb": {
    "r": 158,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 2.124,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47602,
    "c": 0.14518,
    "h": 26.3
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#9E312D
secondary
#69BABD
accent
#DADF49
background
#FCF7F6
surface
#F9EDEB
border
#D2C8C6
text
#140806
muted
#827B7A

Preview Lab

Preview with #9E312D

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

Preview Lab → · Contrast checker → · Palette generator →

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