#9F1F2E#9F1F2E

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

Color values

HEX#9F1F2E
RGBrgb(159, 31, 46)
HSLhsl(353, 67%, 37%)
HSVhsv(353, 81%, 62%)
CMYKcmyk(0%, 80.5%, 71.1%, 37.6%)
CIE-LABlab(35.10, 51.61, 24.95)
CIE-LCHlch(35.10, 57.33, 25.80°)
OKLaboklab(46.07% 0.1519 0.0577)
OKLCHoklch(46.07% 0.162 20.8)
XYZxyz(15.2830, 8.5506, 3.4299)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F2E #1F9F90
analogous
#9F1F6E #9F1F2E #9F501F
triadic
#9F1F2E #2E9F1F #1F2E9F
tetradic
#9F1F2E #6E9F1F #1F9F90 #501F9F
square
#9F1F2E #6E9F1F #1F9F90 #501F9F
split-complementary
#9F1F2E #1F9F50 #1F6E9F
monochromatic
#390B10 #6C151F #9F1F2E #D2293D #DF5A69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1F2E#FFFFFF#000000##FFFFFF
##9F1F2E1.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)
#46412D
Deuteranopia (green-blind)
#665C2A
Tritanopia (blue-blind)
#AF0026
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1f2e;
/* rgb */ color: rgb(159, 31, 46);
/* oklch */ color: oklch(46.1% 0.162 20.8);
Tailwind
colors: {
  custom: {
    50: '#c36866',
    500: '#9f1f2e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f2e;
$custom-light: #c36866;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f2e",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 352.969,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46065,
    "c": 0.16246,
    "h": 20.8
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#9F1F2E
secondary
#57C3B6
accent
#EAD63E
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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