#9D313D#9D313D

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

Color values

HEX#9D313D
RGBrgb(157, 49, 61)
HSLhsl(353, 52%, 40%)
HSVhsv(353, 69%, 62%)
CMYKcmyk(0%, 68.8%, 61.1%, 38.4%)
CIE-LABlab(37.31, 45.43, 18.19)
CIE-LCHlch(37.31, 48.93, 21.82°)
OKLaboklab(47.72% 0.1355 0.0443)
OKLCHoklch(47.72% 0.143 18.1)
XYZxyz(15.8468, 9.7038, 5.4526)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D313D #319D91
analogous
#9D3173 #9D313D #9D5B31
triadic
#9D313D #3D9D31 #313D9D
tetradic
#9D313D #739D31 #319D91 #5B319D
square
#9D313D #739D31 #319D91 #5B319D
split-complementary
#9D313D #319D5B #31739D
monochromatic
#401419 #6E222B #9D313D #C54654 #D4757F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D313D#FFFFFF#000000##FFFFFF
##9D313D1.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)
#4D493D
Deuteranopia (green-blind)
#68603A
Tritanopia (blue-blind)
#AC1836
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d313d;
/* rgb */ color: rgb(157, 49, 61);
/* oklch */ color: oklch(47.7% 0.143 18.1);
Tailwind
colors: {
  custom: {
    50: '#c07072',
    500: '#9d313d',
    950: '#000000',
  },
}
SCSS
$custom: #9d313d;
$custom-light: #c07072;
$custom-dark: #000000;
JSON
{
  "hex": "#9d313d",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 353.333,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47718,
    "c": 0.14257,
    "h": 18.1
  },
  "luminance": 0.09702
}

Semantic roles & 50–950 ramp

primary
#9D313D
secondary
#6EBCB3
accent
#DCCC4C
background
#FCF7F6
surface
#F8EDEC
border
#D1C8C7
text
#130808
muted
#827B7B

Preview Lab

Preview with #9D313D

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

Preview Lab → · Contrast checker → · Palette generator →

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