#9D312D#9D312D

#9D312D is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.4% C 0.144 H 26.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9D312D
RGBrgb(157, 49, 45)
HSLhsl(2, 55%, 40%)
HSVhsv(2, 71%, 62%)
CMYKcmyk(0%, 68.8%, 71.3%, 38.4%)
CIE-LABlab(37.03, 44.45, 27.78)
CIE-LCHlch(37.03, 52.41, 32.00°)
OKLaboklab(47.43% 0.1291 0.0639)
OKLCHoklch(47.43% 0.144 26.3)
XYZxyz(15.4783, 9.5564, 3.5117)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D312D #2D999D
analogous
#9D2D61 #9D312D #9D692D
triadic
#9D312D #2D9D31 #312D9D
tetradic
#9D312D #619D2D #2D999D #692D9D
square
#9D312D #619D2D #2D999D #692D9D
split-complementary
#9D312D #2D9D69 #2D619D
monochromatic
#3E1312 #6D221F #9D312D #C8443F #D6726F

Accessibility & contrast

On white

7.21
#9D312D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9D312D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D312D
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D312D#FFFFFF#000000##FFFFFF
##9D312D1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482C
Deuteranopia (green-blind)
#6A602A
Tritanopia (blue-blind)
#AD1231
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d312d;
/* rgb */ color: rgb(157, 49, 45);
/* oklch */ color: oklch(47.4% 0.144 26.3);
Tailwind
colors: {
  custom: {
    50: '#c17066',
    500: '#9d312d',
    950: '#000000',
  },
}
SCSS
$custom: #9d312d;
$custom-light: #c17066;
$custom-dark: #000000;
JSON
{
  "hex": "#9d312d",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 2.143,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47428,
    "c": 0.14408,
    "h": 26.3
  },
  "luminance": 0.09554
}

Semantic roles & 50–950 ramp

primary
#9D312D
secondary
#69BABD
accent
#D9DF49
background
#FCF7F6
surface
#F9EDEB
border
#D2C8C6
text
#140806
muted
#827B7A

Preview Lab

Preview with #9D312D

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

Preview Lab → · Contrast checker → · Palette generator →

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