#9E1F37#9E1F37

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

Color values

HEX#9E1F37
RGBrgb(158, 31, 55)
HSLhsl(349, 67%, 37%)
HSVhsv(349, 80%, 62%)
CMYKcmyk(0%, 80.4%, 65.2%, 38%)
CIE-LABlab(35.06, 51.81, 19.11)
CIE-LCHlch(35.06, 55.22, 20.25°)
OKLaboklab(46.05% 0.1546 0.0459)
OKLCHoklch(46.05% 0.161 16.5)
XYZxyz(15.2818, 8.5272, 4.4549)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F37 #1F9E86
analogous
#9E1F77 #9E1F37 #9E461F
triadic
#9E1F37 #379E1F #1F379E
tetradic
#9E1F37 #779E1F #1F9E86 #461F9E
square
#9E1F37 #779E1F #1F9E86 #461F9E
split-complementary
#9E1F37 #1F9E46 #1F779E
monochromatic
#380B13 #6B1525 #9E1F37 #D12949 #DE5972

Accessibility & contrast

On white

7.76
#9E1F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9E1F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F37
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F37#FFFFFF#000000##FFFFFF
##9E1F371.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454237
Deuteranopia (green-blind)
#645C33
Tritanopia (blue-blind)
#AE002A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f37;
/* rgb */ color: rgb(158, 31, 55);
/* oklch */ color: oklch(46.0% 0.161 16.5);
Tailwind
colors: {
  custom: {
    50: '#c2686d',
    500: '#9e1f37',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f37;
$custom-light: #c2686d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f37",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 55
  },
  "hsl": {
    "h": 348.661,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46045,
    "c": 0.16129,
    "h": 16.5
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#9E1F37
secondary
#56C2AE
accent
#EACA3E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E1F37

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

Preview Lab → · Contrast checker → · Palette generator →

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