#9D3040#9D3040

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

Color values

HEX#9D3040
RGBrgb(157, 48, 64)
HSLhsl(351, 53%, 40%)
HSVhsv(351, 69%, 62%)
CMYKcmyk(0%, 69.4%, 59.2%, 38.4%)
CIE-LABlab(37.21, 46.06, 16.17)
CIE-LCHlch(37.21, 48.82, 19.34°)
OKLaboklab(47.67% 0.1381 0.0398)
OKLCHoklch(47.67% 0.144 16.1)
XYZxyz(15.8885, 9.6544, 5.8763)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3040 #309D8D
analogous
#9D3076 #9D3040 #9D5730
triadic
#9D3040 #409D30 #30409D
tetradic
#9D3040 #769D30 #309D8D #57309D
square
#9D3040 #769D30 #309D8D #57309D
split-complementary
#9D3040 #309D57 #30769D
monochromatic
#3F131A #6E222D #9D3040 #C64457 #D47381

Accessibility & contrast

On white

7.17
#9D3040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D3040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D3040
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3040#FFFFFF#000000##FFFFFF
##9D30401.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4940
Deuteranopia (green-blind)
#68603D
Tritanopia (blue-blind)
#AC1737
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d3040;
/* rgb */ color: rgb(157, 48, 64);
/* oklch */ color: oklch(47.7% 0.144 16.1);
Tailwind
colors: {
  custom: {
    50: '#c07074',
    500: '#9d3040',
    950: '#000000',
  },
}
SCSS
$custom: #9d3040;
$custom-light: #c07074;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3040",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 64
  },
  "hsl": {
    "h": 351.193,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4767,
    "c": 0.14369,
    "h": 16.1
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#9D3040
secondary
#6DBCB0
accent
#DDC74B
background
#FCF7F7
surface
#F8EDED
border
#D1C8C8
text
#130808
muted
#827B7B

Preview Lab

Preview with #9D3040

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

Preview Lab → · Contrast checker → · Palette generator →

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