#9A1D33#9A1D33

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

Color values

HEX#9A1D33
RGBrgb(154, 29, 51)
HSLhsl(349, 68%, 36%)
HSVhsv(349, 81%, 60%)
CMYKcmyk(0%, 81.2%, 66.9%, 39.6%)
CIE-LABlab(33.96, 50.98, 20.12)
CIE-LCHlch(33.96, 54.80, 21.54°)
OKLaboklab(45.07% 0.1517 0.0479)
OKLCHoklch(45.07% 0.159 17.5)
XYZxyz(14.3649, 7.9900, 3.9172)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D33 #1D9A84
analogous
#9A1D71 #9A1D33 #9A451D
triadic
#9A1D33 #339A1D #1D339A
tetradic
#9A1D33 #719A1D #1D9A84 #451D9A
square
#9A1D33 #719A1D #1D9A84 #451D9A
split-complementary
#9A1D33 #1D9A45 #1D719A
monochromatic
#330A11 #661322 #9A1D33 #CE2744 #DF536B

Accessibility & contrast

On white

8.08
#9A1D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#9A1D33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D33
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D33#FFFFFF#000000##FFFFFF
##9A1D331.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F33
Deuteranopia (green-blind)
#62592F
Tritanopia (blue-blind)
#A90027
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1d33;
/* rgb */ color: rgb(154, 29, 51);
/* oklch */ color: oklch(45.1% 0.159 17.5);
Tailwind
colors: {
  custom: {
    50: '#bf676a',
    500: '#9a1d33',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d33;
$custom-light: #bf676a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d33",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 51
  },
  "hsl": {
    "h": 349.44,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45066,
    "c": 0.15903,
    "h": 17.5
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#9A1D33
secondary
#51C2AE
accent
#EBCC3D
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9A1D33

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

Preview Lab → · Contrast checker → · Palette generator →

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