#9D313B#9D313B

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

Color values

HEX#9D313B
RGBrgb(157, 49, 59)
HSLhsl(354, 52%, 40%)
HSVhsv(354, 69%, 62%)
CMYKcmyk(0%, 68.8%, 62.4%, 38.4%)
CIE-LABlab(37.27, 45.29, 19.40)
CIE-LCHlch(37.27, 49.27, 23.19°)
OKLaboklab(47.68% 0.1347 0.047)
OKLCHoklch(47.68% 0.143 19.2)
XYZxyz(15.7939, 9.6827, 5.1741)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D313B #319D93
analogous
#9D3171 #9D313B #9D5D31
triadic
#9D313B #3B9D31 #313B9D
tetradic
#9D313B #719D31 #319D93 #5D319D
square
#9D313B #719D31 #319D93 #5D319D
split-complementary
#9D313B #319D5D #31719D
monochromatic
#401418 #6E2229 #9D313B #C54652 #D4757D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D313B#FFFFFF#000000##FFFFFF
##9D313B1.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)
#4D493B
Deuteranopia (green-blind)
#696038
Tritanopia (blue-blind)
#AC1735
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d313b;
/* rgb */ color: rgb(157, 49, 59);
/* oklch */ color: oklch(47.7% 0.143 19.2);
Tailwind
colors: {
  custom: {
    50: '#c07070',
    500: '#9d313b',
    950: '#000000',
  },
}
SCSS
$custom: #9d313b;
$custom-light: #c07070;
$custom-dark: #000000;
JSON
{
  "hex": "#9d313b",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 354.444,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47676,
    "c": 0.14264,
    "h": 19.2
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D313B

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

Preview Lab → · Contrast checker → · Palette generator →

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