#9D314C#9D314C

#9D314C is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.1% C 0.144 H 9.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9D314C
RGBrgb(157, 49, 76)
HSLhsl(345, 52%, 40%)
HSVhsv(345, 69%, 62%)
CMYKcmyk(0%, 68.8%, 51.6%, 38.4%)
CIE-LABlab(37.64, 46.63, 9.12)
CIE-LCHlch(37.64, 47.51, 11.07°)
OKLaboklab(48.08% 0.1416 0.0234)
OKLCHoklch(48.08% 0.144 9.4)
XYZxyz(16.3088, 9.8887, 7.8860)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D314C #319D82
analogous
#9D3182 #9D314C #9D4C31
triadic
#9D314C #4C9D31 #314C9D
tetradic
#9D314C #829D31 #319D82 #4C319D
square
#9D314C #829D31 #319D82 #4C319D
split-complementary
#9D314C #319D4C #31829D
monochromatic
#40141F #6E2235 #9D314C #C54666 #D4758C

Accessibility & contrast

On white

7.05
#9D314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9D314C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D314C
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D314C#FFFFFF#000000##FFFFFF
##9D314C1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4D
Deuteranopia (green-blind)
#666149
Tritanopia (blue-blind)
#AB1E3C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d314c;
/* rgb */ color: rgb(157, 49, 76);
/* oklch */ color: oklch(48.1% 0.144 9.4);
Tailwind
colors: {
  custom: {
    50: '#bf707d',
    500: '#9d314c',
    950: '#000000',
  },
}
SCSS
$custom: #9d314c;
$custom-light: #bf707d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d314c",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 345,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.14352,
    "h": 9.4
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#9D314C
secondary
#6EBCA8
accent
#DCB84C
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9D314C

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

Preview Lab → · Contrast checker → · Palette generator →

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