#9A1F3D#9A1F3D

#9A1F3D is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.158 H 12.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9A1F3D
RGBrgb(154, 31, 61)
HSLhsl(345, 66%, 36%)
HSVhsv(345, 80%, 60%)
CMYKcmyk(0%, 79.9%, 60.4%, 39.6%)
CIE-LABlab(34.37, 51.02, 14.18)
CIE-LCHlch(34.37, 52.95, 15.54°)
OKLaboklab(45.43% 0.1538 0.035)
OKLCHoklch(45.43% 0.158 12.8)
XYZxyz(14.6602, 8.1891, 5.2227)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F3D #1F9A7C
analogous
#9A1F7B #9A1F3D #9A3F1F
triadic
#9A1F3D #3D9A1F #1F3D9A
tetradic
#9A1F3D #7B9A1F #1F9A7C #3F1F9A
square
#9A1F3D #7B9A1F #1F9A7C #3F1F9A
split-complementary
#9A1F3D #1F9A3F #1F7B9A
monochromatic
#340A15 #671529 #9A1F3D #CD2951 #DD5677

Accessibility & contrast

On white

7.96
#9A1F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9A1F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1F3D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F3D#FFFFFF#000000##FFFFFF
##9A1F3D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413D
Deuteranopia (green-blind)
#615A3A
Tritanopia (blue-blind)
#A9002C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a1f3d;
/* rgb */ color: rgb(154, 31, 61);
/* oklch */ color: oklch(45.4% 0.158 12.8);
Tailwind
colors: {
  custom: {
    50: '#be6872',
    500: '#9a1f3d',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f3d;
$custom-light: #be6872;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f3d",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 345.366,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.15776,
    "h": 12.8
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#9A1F3D
secondary
#54C1A6
accent
#E9C03E
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A

Preview Lab

Preview with #9A1F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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