#9E1F39#9E1F39

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

Color values

HEX#9E1F39
RGBrgb(158, 31, 57)
HSLhsl(348, 67%, 37%)
HSVhsv(348, 80%, 62%)
CMYKcmyk(0%, 80.4%, 63.9%, 38%)
CIE-LABlab(35.10, 51.93, 17.88)
CIE-LCHlch(35.10, 54.92, 19.00°)
OKLaboklab(46.09% 0.1554 0.0432)
OKLCHoklch(46.09% 0.161 15.5)
XYZxyz(15.3307, 8.5468, 4.7126)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F39 #1F9E84
analogous
#9E1F78 #9E1F39 #9E451F
triadic
#9E1F39 #399E1F #1F399E
tetradic
#9E1F39 #789E1F #1F9E84 #451F9E
square
#9E1F39 #789E1F #1F9E84 #451F9E
split-complementary
#9E1F39 #1F9E45 #1F789E
monochromatic
#380B14 #6B1527 #9E1F39 #D1294B #DE5974

Accessibility & contrast

On white

7.75
#9E1F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F39
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F39#FFFFFF#000000##FFFFFF
##9E1F391.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444239
Deuteranopia (green-blind)
#645C35
Tritanopia (blue-blind)
#AE002A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1f39;
/* rgb */ color: rgb(158, 31, 57);
/* oklch */ color: oklch(46.1% 0.161 15.5);
Tailwind
colors: {
  custom: {
    50: '#c2686f',
    500: '#9e1f39',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f39;
$custom-light: #c2686f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f39",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 347.717,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46087,
    "c": 0.16133,
    "h": 15.5
  },
  "luminance": 0.08544
}

Semantic roles & 50–950 ramp

primary
#9E1F39
secondary
#56C2AC
accent
#EAC73E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E1F39

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

Preview Lab → · Contrast checker → · Palette generator →

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