#9A1D31#9A1D31

#9A1D31 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.0% C 0.159 H 18.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9A1D31
RGBrgb(154, 29, 49)
HSLhsl(350, 68%, 36%)
HSVhsv(350, 81%, 60%)
CMYKcmyk(0%, 81.2%, 68.2%, 39.6%)
CIE-LABlab(33.93, 50.87, 21.36)
CIE-LCHlch(33.93, 55.17, 22.78°)
OKLaboklab(45.03% 0.1509 0.0504)
OKLCHoklch(45.03% 0.159 18.5)
XYZxyz(14.3218, 7.9727, 3.6899)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D31 #1D9A86
analogous
#9A1D6F #9A1D31 #9A471D
triadic
#9A1D31 #319A1D #1D319A
tetradic
#9A1D31 #6F9A1D #1D9A86 #471D9A
square
#9A1D31 #6F9A1D #1D9A86 #471D9A
split-complementary
#9A1D31 #1D9A47 #1D6F9A
monochromatic
#330A10 #661321 #9A1D31 #CE2741 #DF5369

Accessibility & contrast

On white

8.09
#9A1D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#9A1D31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D31
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D31#FFFFFF#000000##FFFFFF
##9A1D311.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F31
Deuteranopia (green-blind)
#62592D
Tritanopia (blue-blind)
#A90026
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1d31;
/* rgb */ color: rgb(154, 29, 49);
/* oklch */ color: oklch(45.0% 0.159 18.5);
Tailwind
colors: {
  custom: {
    50: '#bf6668',
    500: '#9a1d31',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d31;
$custom-light: #bf6668;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d31",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 49
  },
  "hsl": {
    "h": 350.4,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45028,
    "c": 0.15906,
    "h": 18.5
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#9A1D31
secondary
#51C2B0
accent
#EBCF3D
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9A1D31

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

Preview Lab → · Contrast checker → · Palette generator →

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