#9F1F3F#9F1F3F

#9F1F3F is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.4% C 0.163 H 12.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9F1F3F
RGBrgb(159, 31, 63)
HSLhsl(345, 67%, 37%)
HSVhsv(345, 81%, 62%)
CMYKcmyk(0%, 80.5%, 60.4%, 37.6%)
CIE-LABlab(35.42, 52.61, 14.47)
CIE-LCHlch(35.42, 54.56, 15.38°)
OKLaboklab(46.41% 0.1587 0.0357)
OKLCHoklch(46.41% 0.163 12.7)
XYZxyz(15.6869, 8.7121, 5.5573)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F3F #1F9F7F
analogous
#9F1F7F #9F1F3F #9F3F1F
triadic
#9F1F3F #3F9F1F #1F3F9F
tetradic
#9F1F3F #7F9F1F #1F9F7F #3F1F9F
square
#9F1F3F #7F9F1F #1F9F7F #3F1F9F
split-complementary
#9F1F3F #1F9F3F #1F7F9F
monochromatic
#390B16 #6C152B #9F1F3F #D22953 #DF5A7B

Accessibility & contrast

On white

7.66
#9F1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9F1F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F3F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F3F#FFFFFF#000000##FFFFFF
##9F1F3F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44433F
Deuteranopia (green-blind)
#645D3C
Tritanopia (blue-blind)
#AE002D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1f3f;
/* rgb */ color: rgb(159, 31, 63);
/* oklch */ color: oklch(46.4% 0.163 12.7);
Tailwind
colors: {
  custom: {
    50: '#c26873',
    500: '#9f1f3f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f3f;
$custom-light: #c26873;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f3f",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 345,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46405,
    "c": 0.16263,
    "h": 12.7
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#9F1F3F
secondary
#57C3A8
accent
#EABF3E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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