#9D3147#9D3147

#9D3147 is a mid, vivid red. Relative luminance 0.098; OKLCH L 47.9% C 0.143 H 12.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9D3147
RGBrgb(157, 49, 71)
HSLhsl(348, 52%, 40%)
HSVhsv(348, 69%, 62%)
CMYKcmyk(0%, 68.8%, 54.8%, 38.4%)
CIE-LABlab(37.52, 46.20, 12.13)
CIE-LCHlch(37.52, 47.76, 14.72°)
OKLaboklab(47.95% 0.1396 0.0306)
OKLCHoklch(47.95% 0.143 12.4)
XYZxyz(16.1417, 9.8218, 7.0058)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3147 #319D87
analogous
#9D317D #9D3147 #9D5131
triadic
#9D3147 #479D31 #31479D
tetradic
#9D3147 #7D9D31 #319D87 #51319D
square
#9D3147 #7D9D31 #319D87 #51319D
split-complementary
#9D3147 #319D51 #317D9D
monochromatic
#40141D #6E2232 #9D3147 #C54660 #D47588

Accessibility & contrast

On white

7.09
#9D3147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9D3147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D3147
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3147#FFFFFF#000000##FFFFFF
##9D31471.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4A47
Deuteranopia (green-blind)
#676044
Tritanopia (blue-blind)
#AB1C3A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d3147;
/* rgb */ color: rgb(157, 49, 71);
/* oklch */ color: oklch(47.9% 0.143 12.4);
Tailwind
colors: {
  custom: {
    50: '#bf707a',
    500: '#9d3147',
    950: '#000000',
  },
}
SCSS
$custom: #9d3147;
$custom-light: #bf707a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3147",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 71
  },
  "hsl": {
    "h": 347.778,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47948,
    "c": 0.1429,
    "h": 12.4
  },
  "luminance": 0.0982
}

Semantic roles & 50–950 ramp

primary
#9D3147
secondary
#6EBCAC
accent
#DCBF4C
background
#FCF7F7
surface
#F8EDED
border
#D1C8C8
text
#130809
muted
#827B7B

Preview Lab

Preview with #9D3147

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

Preview Lab → · Contrast checker → · Palette generator →

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