#9A1F29#9A1F29

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

Color values

HEX#9A1F29
RGBrgb(154, 31, 41)
HSLhsl(355, 66%, 36%)
HSVhsv(355, 80%, 60%)
CMYKcmyk(0%, 79.9%, 73.4%, 39.6%)
CIE-LABlab(34.01, 49.87, 26.53)
CIE-LCHlch(34.01, 56.49, 28.01°)
OKLaboklab(45.05% 0.1458 0.0605)
OKLCHoklch(45.05% 0.158 22.5)
XYZxyz(14.2183, 8.0123, 2.8953)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F29 #1F9A90
analogous
#9A1F67 #9A1F29 #9A531F
triadic
#9A1F29 #299A1F #1F299A
tetradic
#9A1F29 #679A1F #1F9A90 #531F9A
square
#9A1F29 #679A1F #1F9A90 #531F9A
split-complementary
#9A1F29 #1F9A53 #1F679A
monochromatic
#340A0E #67151B #9A1F29 #CD2937 #DD5661

Accessibility & contrast

On white

8.07
#9A1F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1F29
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F29#FFFFFF#000000##FFFFFF
##9A1F291.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F28
Deuteranopia (green-blind)
#635925
Tritanopia (blue-blind)
#AA0024
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1f29;
/* rgb */ color: rgb(154, 31, 41);
/* oklch */ color: oklch(45.0% 0.158 22.5);
Tailwind
colors: {
  custom: {
    50: '#c06762',
    500: '#9a1f29',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f29;
$custom-light: #c06762;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f29",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 355.122,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45048,
    "c": 0.15789,
    "h": 22.5
  },
  "luminance": 0.0801
}

Semantic roles & 50–950 ramp

primary
#9A1F29
secondary
#54C1B8
accent
#E9DC3E
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #9A1F29

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

Preview Lab → · Contrast checker → · Palette generator →

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