#9D313A#9D313A

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

Color values

HEX#9D313A
RGBrgb(157, 49, 58)
HSLhsl(355, 52%, 40%)
HSVhsv(355, 69%, 62%)
CMYKcmyk(0%, 68.8%, 63.1%, 38.4%)
CIE-LABlab(37.25, 45.22, 20.00)
CIE-LCHlch(37.25, 49.45, 23.86°)
OKLaboklab(47.66% 0.1343 0.0483)
OKLCHoklch(47.66% 0.143 19.8)
XYZxyz(15.7682, 9.6724, 5.0388)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D313A #319D94
analogous
#9D3170 #9D313A #9D5E31
triadic
#9D313A #3A9D31 #313A9D
tetradic
#9D313A #709D31 #319D94 #5E319D
square
#9D313A #709D31 #319D94 #5E319D
split-complementary
#9D313A #319D5E #31709D
monochromatic
#401418 #6E2229 #9D313A #C54651 #D4757D

Accessibility & contrast

On white

7.16
#9D313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D313A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D313A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D313A#FFFFFF#000000##FFFFFF
##9D313A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493A
Deuteranopia (green-blind)
#696037
Tritanopia (blue-blind)
#AC1735
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d313a;
/* rgb */ color: rgb(157, 49, 58);
/* oklch */ color: oklch(47.7% 0.143 19.8);
Tailwind
colors: {
  custom: {
    50: '#c07070',
    500: '#9d313a',
    950: '#000000',
  },
}
SCSS
$custom: #9d313a;
$custom-light: #c07070;
$custom-dark: #000000;
JSON
{
  "hex": "#9d313a",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 355,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.14269,
    "h": 19.8
  },
  "luminance": 0.0967
}

Semantic roles & 50–950 ramp

primary
#9D313A
secondary
#6EBCB5
accent
#DCD04C
background
#FCF7F6
surface
#F8EDEC
border
#D1C8C7
text
#130807
muted
#827B7A

Preview Lab

Preview with #9D313A

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

Preview Lab → · Contrast checker → · Palette generator →

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