#9D314B#9D314B

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

Color values

HEX#9D314B
RGBrgb(157, 49, 75)
HSLhsl(346, 52%, 40%)
HSVhsv(346, 69%, 62%)
CMYKcmyk(0%, 68.8%, 52.2%, 38.4%)
CIE-LABlab(37.62, 46.54, 9.72)
CIE-LCHlch(37.62, 47.54, 11.80°)
OKLaboklab(48.05% 0.1412 0.0249)
OKLCHoklch(48.05% 0.143 10)
XYZxyz(16.2743, 9.8749, 7.7043)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D314B #319D83
analogous
#9D3181 #9D314B #9D4D31
triadic
#9D314B #4B9D31 #314B9D
tetradic
#9D314B #819D31 #319D83 #4D319D
square
#9D314B #819D31 #319D83 #4D319D
split-complementary
#9D314B #319D4D #31819D
monochromatic
#40141E #6E2235 #9D314B #C54665 #D4758C

Accessibility & contrast

On white

7.06
#9D314B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D314B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D314B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D314B#FFFFFF#000000##FFFFFF
##9D314B1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4B
Deuteranopia (green-blind)
#666148
Tritanopia (blue-blind)
#AB1D3B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d314b;
/* rgb */ color: rgb(157, 49, 75);
/* oklch */ color: oklch(48.1% 0.143 10.0);
Tailwind
colors: {
  custom: {
    50: '#bf707d',
    500: '#9d314b',
    950: '#000000',
  },
}
SCSS
$custom: #9d314b;
$custom-light: #bf707d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d314b",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 75
  },
  "hsl": {
    "h": 345.556,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48051,
    "c": 0.14337,
    "h": 10
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#9D314B
secondary
#6EBCA9
accent
#DCB94C
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9D314B

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

Preview Lab → · Contrast checker → · Palette generator →

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