#9E2F1F#9E2F1F

#9E2F1F is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.2% C 0.149 H 31.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9E2F1F
RGBrgb(158, 47, 31)
HSLhsl(8, 67%, 37%)
HSVhsv(8, 80%, 62%)
CMYKcmyk(0%, 70.3%, 80.4%, 38%)
CIE-LABlab(36.75, 45.01, 35.65)
CIE-LCHlch(36.75, 57.42, 38.37°)
OKLaboklab(47.2% 0.1279 0.0775)
OKLCHoklch(47.2% 0.15 31.2)
XYZxyz(15.3662, 9.4034, 2.3020)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F1F #1F8E9E
analogous
#9E1F4F #9E2F1F #9E6F1F
triadic
#9E2F1F #1F9E2F #2F1F9E
tetradic
#9E2F1F #4F9E1F #1F8E9E #6F1F9E
square
#9E2F1F #4F9E1F #1F8E9E #6F1F9E
split-complementary
#9E2F1F #1F9E6F #1F4F9E
monochromatic
#38110B #6B2015 #9E2F1F #D13E29 #DE6A59

Accessibility & contrast

On white

7.29
#9E2F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9E2F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2F1F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F1F#FFFFFF#000000##FFFFFF
##9E2F1F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471C
Deuteranopia (green-blind)
#6B5F1A
Tritanopia (blue-blind)
#AE062C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e2f1f;
/* rgb */ color: rgb(158, 47, 31);
/* oklch */ color: oklch(47.2% 0.149 31.2);
Tailwind
colors: {
  custom: {
    50: '#c36f5c',
    500: '#9e2f1f',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f1f;
$custom-light: #c36f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f1f",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 7.559,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47195,
    "c": 0.1495,
    "h": 31.2
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#9E2F1F
secondary
#56B5C2
accent
#D4EA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9E2F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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