#9A1F2B#9A1F2B

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

Color values

HEX#9A1F2B
RGBrgb(154, 31, 43)
HSLhsl(354, 66%, 36%)
HSVhsv(354, 80%, 60%)
CMYKcmyk(0%, 79.9%, 72.1%, 39.6%)
CIE-LABlab(34.04, 49.96, 25.31)
CIE-LCHlch(34.04, 56.01, 26.86°)
OKLaboklab(45.08% 0.1466 0.0583)
OKLCHoklch(45.08% 0.158 21.7)
XYZxyz(14.2541, 8.0266, 3.0838)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F2B #1F9A8E
analogous
#9A1F69 #9A1F2B #9A511F
triadic
#9A1F2B #2B9A1F #1F2B9A
tetradic
#9A1F2B #699A1F #1F9A8E #511F9A
square
#9A1F2B #699A1F #1F9A8E #511F9A
split-complementary
#9A1F2B #1F9A51 #1F699A
monochromatic
#340A0F #67151D #9A1F2B #CD2939 #DD5663

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A1F2B#FFFFFF#000000##FFFFFF
##9A1F2B1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F2A
Deuteranopia (green-blind)
#635927
Tritanopia (blue-blind)
#AA0025
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1f2b;
/* rgb */ color: rgb(154, 31, 43);
/* oklch */ color: oklch(45.1% 0.158 21.7);
Tailwind
colors: {
  custom: {
    50: '#c06764',
    500: '#9a1f2b',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f2b;
$custom-light: #c06764;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f2b",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 354.146,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45079,
    "c": 0.15774,
    "h": 21.7
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#9A1F2B
secondary
#54C1B6
accent
#E9D93E
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #9A1F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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