#9E312F#9E312F

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

Color values

HEX#9E312F
RGBrgb(158, 49, 47)
HSLhsl(1, 54%, 40%)
HSVhsv(1, 70%, 62%)
CMYKcmyk(0%, 69%, 70.3%, 38%)
CIE-LABlab(37.25, 44.90, 26.86)
CIE-LCHlch(37.25, 52.32, 30.89°)
OKLaboklab(47.63% 0.1309 0.0622)
OKLCHoklch(47.63% 0.145 25.4)
XYZxyz(15.7136, 9.6732, 3.7285)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E312F #2F9C9E
analogous
#9E2F64 #9E312F #9E682F
triadic
#9E312F #2F9E31 #312F9E
tetradic
#9E312F #649E2F #2F9C9E #682F9E
square
#9E312F #649E2F #2F9C9E #682F9E
split-complementary
#9E312F #2F9E68 #2F649E
monochromatic
#401413 #6F2221 #9E312F #C74543 #D57472

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E312F#FFFFFF#000000##FFFFFF
##9E312F1.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)
#4F492E
Deuteranopia (green-blind)
#6A602C
Tritanopia (blue-blind)
#AE1232
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e312f;
/* rgb */ color: rgb(158, 49, 47);
/* oklch */ color: oklch(47.6% 0.145 25.4);
Tailwind
colors: {
  custom: {
    50: '#c27067',
    500: '#9e312f',
    950: '#000000',
  },
}
SCSS
$custom: #9e312f;
$custom-light: #c27067;
$custom-dark: #000000;
JSON
{
  "hex": "#9e312f",
  "rgb": {
    "r": 158,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 1.081,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47633,
    "c": 0.14489,
    "h": 25.4
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#9E312F
secondary
#6CBBBD
accent
#DBDE4A
background
#FCF7F6
surface
#F9EDEB
border
#D2C8C6
text
#140806
muted
#827B7A

Preview Lab

Preview with #9E312F

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

Preview Lab → · Contrast checker → · Palette generator →

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