#9F1F2F#9F1F2F

#9F1F2F is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.162 H 20.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9F1F2F
RGBrgb(159, 31, 47)
HSLhsl(353, 67%, 37%)
HSVhsv(353, 81%, 62%)
CMYKcmyk(0%, 80.5%, 70.4%, 37.6%)
CIE-LABlab(35.12, 51.66, 24.34)
CIE-LCHlch(35.12, 57.11, 25.22°)
OKLaboklab(46.08% 0.1522 0.0566)
OKLCHoklch(46.08% 0.162 20.4)
XYZxyz(15.3029, 8.5585, 3.5350)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F2F #1F9F8F
analogous
#9F1F6F #9F1F2F #9F4F1F
triadic
#9F1F2F #2F9F1F #1F2F9F
tetradic
#9F1F2F #6F9F1F #1F9F8F #4F1F9F
square
#9F1F2F #6F9F1F #1F9F8F #4F1F9F
split-complementary
#9F1F2F #1F9F4F #1F6F9F
monochromatic
#390B11 #6C1520 #9F1F2F #D2293E #DF5A6A

Accessibility & contrast

On white

7.75
#9F1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9F1F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F2F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F2F#FFFFFF#000000##FFFFFF
##9F1F2F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412F
Deuteranopia (green-blind)
#665C2B
Tritanopia (blue-blind)
#AF0026
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1f2f;
/* rgb */ color: rgb(159, 31, 47);
/* oklch */ color: oklch(46.1% 0.162 20.4);
Tailwind
colors: {
  custom: {
    50: '#c36867',
    500: '#9f1f2f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f2f;
$custom-light: #c36867;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f2f",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 352.5,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46082,
    "c": 0.1624,
    "h": 20.4
  },
  "luminance": 0.08556
}

Semantic roles & 50–950 ramp

primary
#9F1F2F
secondary
#57C3B5
accent
#EAD53E
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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