#9E1F34#9E1F34

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

Color values

HEX#9E1F34
RGBrgb(158, 31, 52)
HSLhsl(350, 67%, 37%)
HSVhsv(350, 80%, 62%)
CMYKcmyk(0%, 80.4%, 67.1%, 38%)
CIE-LABlab(35.00, 51.63, 20.97)
CIE-LCHlch(35.00, 55.73, 22.10°)
OKLaboklab(45.99% 0.1534 0.0498)
OKLCHoklch(45.99% 0.161 18)
XYZxyz(15.2121, 8.4993, 4.0877)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F34 #1F9E89
analogous
#9E1F74 #9E1F34 #9E4A1F
triadic
#9E1F34 #349E1F #1F349E
tetradic
#9E1F34 #749E1F #1F9E89 #4A1F9E
square
#9E1F34 #749E1F #1F9E89 #4A1F9E
split-complementary
#9E1F34 #1F9E4A #1F749E
monochromatic
#380B12 #6B1523 #9E1F34 #D12945 #DE596F

Accessibility & contrast

On white

7.78
#9E1F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F34
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F34#FFFFFF#000000##FFFFFF
##9E1F341.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454134
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#AE0028
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f34;
/* rgb */ color: rgb(158, 31, 52);
/* oklch */ color: oklch(46.0% 0.161 18.0);
Tailwind
colors: {
  custom: {
    50: '#c2686b',
    500: '#9e1f34',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f34;
$custom-light: #c2686b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f34",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 52
  },
  "hsl": {
    "h": 350.079,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45986,
    "c": 0.16128,
    "h": 18
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E1F34

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

Preview Lab → · Contrast checker → · Palette generator →

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