#9D1F3E#9D1F3E

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

Color values

HEX#9D1F3E
RGBrgb(157, 31, 62)
HSLhsl(345, 67%, 37%)
HSVhsv(345, 80%, 62%)
CMYKcmyk(0%, 80.3%, 60.5%, 38.4%)
CIE-LABlab(35.00, 51.96, 14.48)
CIE-LCHlch(35.00, 53.94, 15.57°)
OKLaboklab(46.01% 0.1567 0.0357)
OKLCHoklch(46.01% 0.161 12.9)
XYZxyz(15.2657, 8.4981, 5.3930)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F3E #1F9D7E
analogous
#9D1F7D #9D1F3E #9D3F1F
triadic
#9D1F3E #3E9D1F #1F3E9D
tetradic
#9D1F3E #7D9D1F #1F9D7E #3F1F9D
square
#9D1F3E #7D9D1F #1F9D7E #3F1F9D
split-complementary
#9D1F3E #1F9D3F #1F7D9D
monochromatic
#370B16 #6A152A #9D1F3E #D02952 #DE5879

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1F3E#FFFFFF#000000##FFFFFF
##9D1F3E1.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)
#43423E
Deuteranopia (green-blind)
#635C3B
Tritanopia (blue-blind)
#AC002C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1f3e;
/* rgb */ color: rgb(157, 31, 62);
/* oklch */ color: oklch(46.0% 0.161 12.9);
Tailwind
colors: {
  custom: {
    50: '#c16873',
    500: '#9d1f3e',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f3e;
$custom-light: #c16873;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f3e",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 62
  },
  "hsl": {
    "h": 345.238,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46013,
    "c": 0.16068,
    "h": 12.9
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#9D1F3E
secondary
#56C2A7
accent
#EAC03E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D1F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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