#9A1F2C#9A1F2C

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

Color values

HEX#9A1F2C
RGBrgb(154, 31, 44)
HSLhsl(354, 66%, 36%)
HSVhsv(354, 80%, 60%)
CMYKcmyk(0%, 79.9%, 71.4%, 39.6%)
CIE-LABlab(34.05, 50.01, 24.70)
CIE-LCHlch(34.05, 55.78, 26.28°)
OKLaboklab(45.1% 0.147 0.0571)
OKLCHoklch(45.1% 0.158 21.2)
XYZxyz(14.2727, 8.0341, 3.1816)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F2C #1F9A8D
analogous
#9A1F6A #9A1F2C #9A501F
triadic
#9A1F2C #2C9A1F #1F2C9A
tetradic
#9A1F2C #6A9A1F #1F9A8D #501F9A
square
#9A1F2C #6A9A1F #1F9A8D #501F9A
split-complementary
#9A1F2C #1F9A50 #1F6A9A
monochromatic
#340A0F #67151D #9A1F2C #CD293B #DD5665

Accessibility & contrast

On white

8.06
#9A1F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#9A1F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1F2C
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F2C#FFFFFF#000000##FFFFFF
##9A1F2C1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2B
Deuteranopia (green-blind)
#635928
Tritanopia (blue-blind)
#AA0025
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1f2c;
/* rgb */ color: rgb(154, 31, 44);
/* oklch */ color: oklch(45.1% 0.158 21.2);
Tailwind
colors: {
  custom: {
    50: '#c06765',
    500: '#9a1f2c',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f2c;
$custom-light: #c06765;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f2c",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 353.659,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.15767,
    "h": 21.2
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#9A1F2C
secondary
#54C1B5
accent
#E9D73E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140705
muted
#827A7A

Preview Lab

Preview with #9A1F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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