#9E2D1F#9E2D1F

#9E2D1F is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.0% C 0.151 H 30.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9E2D1F
RGBrgb(158, 45, 31)
HSLhsl(7, 67%, 37%)
HSVhsv(7, 80%, 62%)
CMYKcmyk(0%, 71.5%, 80.4%, 38%)
CIE-LABlab(36.46, 45.82, 35.35)
CIE-LCHlch(36.46, 57.87, 37.65°)
OKLaboklab(46.98% 0.1304 0.0768)
OKLCHoklch(46.98% 0.151 30.5)
XYZxyz(15.2880, 9.2471, 2.2759)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D1F #1F909E
analogous
#9E1F51 #9E2D1F #9E6D1F
triadic
#9E2D1F #1F9E2D #2D1F9E
tetradic
#9E2D1F #519E1F #1F909E #6D1F9E
square
#9E2D1F #519E1F #1F909E #6D1F9E
split-complementary
#9E2D1F #1F9E6D #1F519E
monochromatic
#38100B #6B1E15 #9E2D1F #D13C29 #DE6859

Accessibility & contrast

On white

7.37
#9E2D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9E2D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2D1F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D1F#FFFFFF#000000##FFFFFF
##9E2D1F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461C
Deuteranopia (green-blind)
#6A5F1A
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e2d1f;
/* rgb */ color: rgb(158, 45, 31);
/* oklch */ color: oklch(47.0% 0.151 30.5);
Tailwind
colors: {
  custom: {
    50: '#c36e5c',
    500: '#9e2d1f',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d1f;
$custom-light: #c36e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d1f",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 31
  },
  "hsl": {
    "h": 6.614,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46975,
    "c": 0.15132,
    "h": 30.5
  },
  "luminance": 0.09245
}

Semantic roles & 50–950 ramp

primary
#9E2D1F
secondary
#56B6C2
accent
#D7EA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9E2D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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