#9A313F#9A313F

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

Color values

HEX#9A313F
RGBrgb(154, 49, 63)
HSLhsl(352, 52%, 40%)
HSVhsv(352, 68%, 60%)
CMYKcmyk(0%, 68.2%, 59.1%, 39.6%)
CIE-LABlab(36.79, 44.57, 16.14)
CIE-LCHlch(36.79, 47.40, 19.91°)
OKLaboklab(47.25% 0.1335 0.0398)
OKLCHoklch(47.25% 0.139 16.6)
XYZxyz(15.3234, 9.4276, 5.7145)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A313F #319A8C
analogous
#9A3174 #9A313F #9A5831
triadic
#9A313F #3F9A31 #313F9A
tetradic
#9A313F #749A31 #319A8C #58319A
square
#9A313F #749A31 #319A8C #58319A
split-complementary
#9A313F #319A58 #31749A
monochromatic
#3D1319 #6C222C #9A313F #C44555 #D27380

Accessibility & contrast

On white

7.28
#9A313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9A313F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A313F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A313F#FFFFFF#000000##FFFFFF
##9A313F1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C493F
Deuteranopia (green-blind)
#665F3C
Tritanopia (blue-blind)
#A91A37
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a313f;
/* rgb */ color: rgb(154, 49, 63);
/* oklch */ color: oklch(47.2% 0.139 16.6);
Tailwind
colors: {
  custom: {
    50: '#be7073',
    500: '#9a313f',
    950: '#000000',
  },
}
SCSS
$custom: #9a313f;
$custom-light: #be7073;
$custom-dark: #000000;
JSON
{
  "hex": "#9a313f",
  "rgb": {
    "r": 154,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 352,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47247,
    "c": 0.13928,
    "h": 16.6
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#9A313F
secondary
#6CBAB0
accent
#DBC84D
background
#FCF7F7
surface
#F8EDED
border
#D1C8C8
text
#130808
muted
#827B7B

Preview Lab

Preview with #9A313F

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

Preview Lab → · Contrast checker → · Palette generator →

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