#9D313C#9D313C

#9D313C is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.7% C 0.143 H 18.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9D313C
RGBrgb(157, 49, 60)
HSLhsl(354, 52%, 40%)
HSVhsv(354, 69%, 62%)
CMYKcmyk(0%, 68.8%, 61.8%, 38.4%)
CIE-LABlab(37.29, 45.36, 18.79)
CIE-LCHlch(37.29, 49.10, 22.51°)
OKLaboklab(47.7% 0.1351 0.0456)
OKLCHoklch(47.7% 0.143 18.7)
XYZxyz(15.8201, 9.6932, 5.3120)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D313C #319D92
analogous
#9D3172 #9D313C #9D5C31
triadic
#9D313C #3C9D31 #313C9D
tetradic
#9D313C #729D31 #319D92 #5C319D
square
#9D313C #729D31 #319D92 #5C319D
split-complementary
#9D313C #319D5C #31729D
monochromatic
#401418 #6E222A #9D313C #C54653 #D4757E

Accessibility & contrast

On white

7.15
#9D313C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9D313C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D313C
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D313C#FFFFFF#000000##FFFFFF
##9D313C1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493C
Deuteranopia (green-blind)
#696039
Tritanopia (blue-blind)
#AC1736
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d313c;
/* rgb */ color: rgb(157, 49, 60);
/* oklch */ color: oklch(47.7% 0.143 18.7);
Tailwind
colors: {
  custom: {
    50: '#c07071',
    500: '#9d313c',
    950: '#000000',
  },
}
SCSS
$custom: #9d313c;
$custom-light: #c07071;
$custom-dark: #000000;
JSON
{
  "hex": "#9d313c",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 353.889,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47697,
    "c": 0.1426,
    "h": 18.7
  },
  "luminance": 0.09691
}

Semantic roles & 50–950 ramp

primary
#9D313C
secondary
#6EBCB4
accent
#DCCD4C
background
#FCF7F6
surface
#F8EDEC
border
#D1C8C7
text
#130807
muted
#827B7A

Preview Lab

Preview with #9D313C

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

Preview Lab → · Contrast checker → · Palette generator →

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