#9D313E#9D313E

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

Color values

HEX#9D313E
RGBrgb(157, 49, 62)
HSLhsl(353, 52%, 40%)
HSVhsv(353, 69%, 62%)
CMYKcmyk(0%, 68.8%, 60.5%, 38.4%)
CIE-LABlab(37.33, 45.50, 17.58)
CIE-LCHlch(37.33, 48.78, 21.13°)
OKLaboklab(47.74% 0.1359 0.043)
OKLCHoklch(47.74% 0.143 17.6)
XYZxyz(15.8740, 9.7147, 5.5957)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D313E #319D90
analogous
#9D3174 #9D313E #9D5A31
triadic
#9D313E #3E9D31 #313E9D
tetradic
#9D313E #749D31 #319D90 #5A319D
square
#9D313E #749D31 #319D90 #5A319D
split-complementary
#9D313E #319D5A #31749D
monochromatic
#401419 #6E222C #9D313E #C54655 #D47580

Accessibility & contrast

On white

7.14
#9D313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D313E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D313E#FFFFFF#000000##FFFFFF
##9D313E1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493E
Deuteranopia (green-blind)
#68603B
Tritanopia (blue-blind)
#AC1836
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d313e;
/* rgb */ color: rgb(157, 49, 62);
/* oklch */ color: oklch(47.7% 0.143 17.6);
Tailwind
colors: {
  custom: {
    50: '#c07073',
    500: '#9d313e',
    950: '#000000',
  },
}
SCSS
$custom: #9d313e;
$custom-light: #c07073;
$custom-dark: #000000;
JSON
{
  "hex": "#9d313e",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 352.778,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47739,
    "c": 0.14256,
    "h": 17.6
  },
  "luminance": 0.09713
}

Semantic roles & 50–950 ramp

primary
#9D313E
secondary
#6EBCB2
accent
#DCCB4C
background
#FCF7F6
surface
#F8EDEC
border
#D1C8C7
text
#130808
muted
#827B7B

Preview Lab

Preview with #9D313E

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

Preview Lab → · Contrast checker → · Palette generator →

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