#9F313A#9F313A

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

Color values

HEX#9F313A
RGBrgb(159, 49, 58)
HSLhsl(355, 53%, 41%)
HSVhsv(355, 69%, 62%)
CMYKcmyk(0%, 69.2%, 63.5%, 37.6%)
CIE-LABlab(37.62, 45.89, 20.55)
CIE-LCHlch(37.62, 50.28, 24.12°)
OKLaboklab(48% 0.1362 0.0495)
OKLCHoklch(48% 0.145 20)
XYZxyz(16.1617, 9.8753, 5.0573)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F313A #319F96
analogous
#9F3171 #9F313A #9F5F31
triadic
#9F313A #3A9F31 #313A9F
tetradic
#9F313A #719F31 #319F96 #5F319F
square
#9F313A #719F31 #319F96 #5F319F
split-complementary
#9F313A #319F5F #31719F
monochromatic
#411418 #702329 #9F313A #C64751 #D5767D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F313A#FFFFFF#000000##FFFFFF
##9F313A1.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)
#4E4A3A
Deuteranopia (green-blind)
#6A6137
Tritanopia (blue-blind)
#AE1535
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f313a;
/* rgb */ color: rgb(159, 49, 58);
/* oklch */ color: oklch(48.0% 0.145 20.0);
Tailwind
colors: {
  custom: {
    50: '#c27070',
    500: '#9f313a',
    950: '#000000',
  },
}
SCSS
$custom: #9f313a;
$custom-light: #c27070;
$custom-dark: #000000;
JSON
{
  "hex": "#9f313a",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 355.091,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.14487,
    "h": 20
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#9F313A
secondary
#6FBDB6
accent
#DCD04C
background
#FCF7F6
surface
#F9EDEC
border
#D2C8C7
text
#140807
muted
#827B7A

Preview Lab

Preview with #9F313A

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

Preview Lab → · Contrast checker → · Palette generator →

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