#9F1B2F#9F1B2F

#9F1B2F is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.165 H 19.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9F1B2F
RGBrgb(159, 27, 47)
HSLhsl(351, 71%, 36%)
HSVhsv(351, 83%, 62%)
CMYKcmyk(0%, 83%, 70.4%, 37.6%)
CIE-LABlab(34.73, 52.78, 23.85)
CIE-LCHlch(34.73, 57.92, 24.32°)
OKLaboklab(45.79% 0.1558 0.0555)
OKLCHoklch(45.79% 0.165 19.6)
XYZxyz(15.2048, 8.3624, 3.5023)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B2F #1B9F8B
analogous
#9F1B71 #9F1B2F #9F491B
triadic
#9F1B2F #2F9F1B #1B2F9F
tetradic
#9F1B2F #719F1B #1B9F8B #491B9F
square
#9F1B2F #719F1B #1B9F8B #491B9F
split-complementary
#9F1B2F #1B9F49 #1B719F
monochromatic
#360910 #6B1220 #9F1B2F #D3243E #E25368

Accessibility & contrast

On white

7.86
#9F1B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9F1B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B2F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B2F#FFFFFF#000000##FFFFFF
##9F1B2F1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44402F
Deuteranopia (green-blind)
#655C2B
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1b2f;
/* rgb */ color: rgb(159, 27, 47);
/* oklch */ color: oklch(45.8% 0.165 19.6);
Tailwind
colors: {
  custom: {
    50: '#c36767',
    500: '#9f1b2f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b2f;
$custom-light: #c36767;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b2f",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 350.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45791,
    "c": 0.16539,
    "h": 19.6
  },
  "luminance": 0.0836
}

Semantic roles & 50–950 ramp

primary
#9F1B2F
secondary
#51C5B3
accent
#EED33A
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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