#9E1F35#9E1F35

#9E1F35 is a mid, vivid red. Relative luminance 0.085; OKLCH L 46.0% C 0.161 H 17.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9E1F35
RGBrgb(158, 31, 53)
HSLhsl(350, 67%, 37%)
HSVhsv(350, 80%, 62%)
CMYKcmyk(0%, 80.4%, 66.5%, 38%)
CIE-LABlab(35.02, 51.69, 20.35)
CIE-LCHlch(35.02, 55.55, 21.49°)
OKLaboklab(46.01% 0.1538 0.0485)
OKLCHoklch(46.01% 0.161 17.5)
XYZxyz(15.2348, 8.5085, 4.2076)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F35 #1F9E88
analogous
#9E1F75 #9E1F35 #9E481F
triadic
#9E1F35 #359E1F #1F359E
tetradic
#9E1F35 #759E1F #1F9E88 #481F9E
square
#9E1F35 #759E1F #1F9E88 #481F9E
split-complementary
#9E1F35 #1F9E48 #1F759E
monochromatic
#380B13 #6B1524 #9E1F35 #D12946 #DE5970

Accessibility & contrast

On white

7.77
#9E1F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9E1F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F35
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F35#FFFFFF#000000##FFFFFF
##9E1F351.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454135
Deuteranopia (green-blind)
#655C31
Tritanopia (blue-blind)
#AE0029
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f35;
/* rgb */ color: rgb(158, 31, 53);
/* oklch */ color: oklch(46.0% 0.161 17.5);
Tailwind
colors: {
  custom: {
    50: '#c2686c',
    500: '#9e1f35',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f35;
$custom-light: #c2686c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f35",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 53
  },
  "hsl": {
    "h": 349.606,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46005,
    "c": 0.16127,
    "h": 17.5
  },
  "luminance": 0.08506
}

Semantic roles & 50–950 ramp

primary
#9E1F35
secondary
#56C2B0
accent
#EACC3E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9E1F35

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

Preview Lab → · Contrast checker → · Palette generator →

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