#9D1F3D#9D1F3D

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

Color values

HEX#9D1F3D
RGBrgb(157, 31, 61)
HSLhsl(346, 67%, 37%)
HSVhsv(346, 80%, 62%)
CMYKcmyk(0%, 80.3%, 61.1%, 38.4%)
CIE-LABlab(34.98, 51.89, 15.10)
CIE-LCHlch(34.98, 54.05, 16.22°)
OKLaboklab(45.99% 0.1562 0.0371)
OKLCHoklch(45.99% 0.161 13.4)
XYZxyz(15.2385, 8.4873, 5.2498)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F3D #1F9D7F
analogous
#9D1F7C #9D1F3D #9D401F
triadic
#9D1F3D #3D9D1F #1F3D9D
tetradic
#9D1F3D #7C9D1F #1F9D7F #401F9D
square
#9D1F3D #7C9D1F #1F9D7F #401F9D
split-complementary
#9D1F3D #1F9D40 #1F7C9D
monochromatic
#370B15 #6A1529 #9D1F3D #D02951 #DE5878

Accessibility & contrast

On white

7.79
#9D1F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1F3D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F3D#FFFFFF#000000##FFFFFF
##9D1F3D1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43423D
Deuteranopia (green-blind)
#635C3A
Tritanopia (blue-blind)
#AC002C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1f3d;
/* rgb */ color: rgb(157, 31, 61);
/* oklch */ color: oklch(46.0% 0.161 13.4);
Tailwind
colors: {
  custom: {
    50: '#c16872',
    500: '#9d1f3d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f3d;
$custom-light: #c16872;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f3d",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 345.714,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4599,
    "c": 0.16059,
    "h": 13.4
  },
  "luminance": 0.08485
}

Semantic roles & 50–950 ramp

primary
#9D1F3D
secondary
#56C2A8
accent
#EAC13E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D1F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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