#9D1E38#9D1E38

#9D1E38 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.161 H 15.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9D1E38
RGBrgb(157, 30, 56)
HSLhsl(348, 68%, 37%)
HSVhsv(348, 81%, 62%)
CMYKcmyk(0%, 80.9%, 64.3%, 38.4%)
CIE-LABlab(34.77, 51.87, 18.06)
CIE-LCHlch(34.77, 54.92, 19.20°)
OKLaboklab(45.8% 0.1552 0.0436)
OKLCHoklch(45.8% 0.161 15.7)
XYZxyz(15.0843, 8.3845, 4.5647)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E38 #1E9D83
analogous
#9D1E77 #9D1E38 #9D441E
triadic
#9D1E38 #389D1E #1E389D
tetradic
#9D1E38 #779D1E #1E9D83 #441E9D
square
#9D1E38 #779D1E #1E9D83 #441E9D
split-complementary
#9D1E38 #1E9D44 #1E779D
monochromatic
#360A13 #6A1426 #9D1E38 #D0284A #DF5772

Accessibility & contrast

On white

7.85
#9D1E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9D1E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E38
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E38#FFFFFF#000000##FFFFFF
##9D1E381.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434138
Deuteranopia (green-blind)
#635B34
Tritanopia (blue-blind)
#AD0029
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1e38;
/* rgb */ color: rgb(157, 30, 56);
/* oklch */ color: oklch(45.8% 0.161 15.7);
Tailwind
colors: {
  custom: {
    50: '#c1686e',
    500: '#9d1e38',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e38;
$custom-light: #c1686e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e38",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 56
  },
  "hsl": {
    "h": 347.717,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45803,
    "c": 0.16117,
    "h": 15.7
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#9D1E38
secondary
#54C2AC
accent
#EBC73D
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D1E38

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

Preview Lab → · Contrast checker → · Palette generator →

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