#9D1F3C#9D1F3C

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

Color values

HEX#9D1F3C
RGBrgb(157, 31, 60)
HSLhsl(346, 67%, 37%)
HSVhsv(346, 80%, 62%)
CMYKcmyk(0%, 80.3%, 61.8%, 38.4%)
CIE-LABlab(34.96, 51.83, 15.72)
CIE-LCHlch(34.96, 54.16, 16.87°)
OKLaboklab(45.97% 0.1558 0.0385)
OKLCHoklch(45.97% 0.161 13.9)
XYZxyz(15.2118, 8.4766, 5.1093)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F3C #1F9D80
analogous
#9D1F7B #9D1F3C #9D411F
triadic
#9D1F3C #3C9D1F #1F3C9D
tetradic
#9D1F3C #7B9D1F #1F9D80 #411F9D
square
#9D1F3C #7B9D1F #1F9D80 #411F9D
split-complementary
#9D1F3C #1F9D41 #1F7B9D
monochromatic
#370B15 #6A1528 #9D1F3C #D02950 #DE5877

Accessibility & contrast

On white

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

On black

2.69
#9D1F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D1F3C#FFFFFF#000000##FFFFFF
##9D1F3C1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1f3c;
/* rgb */ color: rgb(157, 31, 60);
/* oklch */ color: oklch(46.0% 0.161 13.9);
Tailwind
colors: {
  custom: {
    50: '#c16871',
    500: '#9d1f3c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f3c;
$custom-light: #c16871;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f3c",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 60
  },
  "hsl": {
    "h": 346.19,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.16053,
    "h": 13.9
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#9D1F3C
secondary
#56C2A9
accent
#EAC23E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D1F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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