#9A313A#9A313A

#9A313A is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.1% C 0.139 H 19.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9A313A
RGBrgb(154, 49, 58)
HSLhsl(355, 52%, 40%)
HSVhsv(355, 68%, 60%)
CMYKcmyk(0%, 68.2%, 62.3%, 39.6%)
CIE-LABlab(36.70, 44.20, 19.18)
CIE-LCHlch(36.70, 48.18, 23.45°)
OKLaboklab(47.14% 0.1314 0.0464)
OKLCHoklch(47.14% 0.139 19.5)
XYZxyz(15.1899, 9.3742, 5.0117)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A313A #319A91
analogous
#9A316F #9A313A #9A5C31
triadic
#9A313A #3A9A31 #313A9A
tetradic
#9A313A #6F9A31 #319A91 #5C319A
square
#9A313A #6F9A31 #319A91 #5C319A
split-complementary
#9A313A #319A5C #316F9A
monochromatic
#3D1317 #6C2229 #9A313A #C4454F #D2737B

Accessibility & contrast

On white

7.31
#9A313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9A313A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A313A
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A313A#FFFFFF#000000##FFFFFF
##9A313A1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C483A
Deuteranopia (green-blind)
#675E37
Tritanopia (blue-blind)
#A91935
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a313a;
/* rgb */ color: rgb(154, 49, 58);
/* oklch */ color: oklch(47.1% 0.139 19.5);
Tailwind
colors: {
  custom: {
    50: '#be7070',
    500: '#9a313a',
    950: '#000000',
  },
}
SCSS
$custom: #9a313a;
$custom-light: #be7070;
$custom-dark: #000000;
JSON
{
  "hex": "#9a313a",
  "rgb": {
    "r": 154,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 354.857,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4714,
    "c": 0.13938,
    "h": 19.5
  },
  "luminance": 0.09372
}

Semantic roles & 50–950 ramp

primary
#9A313A
secondary
#6CBAB4
accent
#DBCF4D
background
#FCF7F6
surface
#F8EDEC
border
#D1C8C7
text
#130807
muted
#827B7A

Preview Lab

Preview with #9A313A

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

Preview Lab → · Contrast checker → · Palette generator →

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